Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update create PR action v4 -> v6 #72782

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

casswedson
Copy link
Contributor

Summary

None

Purpose of change

weekly changelog action wasn't working fix it; update version, update all places where it's used
https://discord.com/channels/598523535169945603/598529174302490644/1224483590461460532
maleclypse got me a job

deprecation warnings finally deliver.

Describe the solution

Describe alternatives you've considered

Testing

https://github.com/casswedson/Cataclysm-DDA/actions/runs/8515833614
casswedson#154

patch minus the edits to make it work on my fork

modified   .github/workflows/format_emscripten.yml
@@ -48,7 +48,7 @@ jobs:
         run: ls -a
 
       - name: Create Pull Request
-        uses: peter-evans/create-pull-request@v4
+        uses: peter-evans/create-pull-request@v6
         with:
           token: ${{ secrets.TX_PR_CREATOR }}
           commit-message: JSON linter gh-pages file update
modified   .github/workflows/pull-translations.yml
@@ -44,7 +44,7 @@ jobs:
       - name: "Update stats"
         run: ./lang/update_stats.sh
       - name: Create Pull Request
-        uses: peter-evans/create-pull-request@v4
+        uses: peter-evans/create-pull-request@v6
         with:
           commit-message: Routine i18n updates on ${{ steps.current-date.outputs.formattedTime }}
           token: ${{ secrets.TX_PR_CREATOR }}
modified   .github/workflows/toc.yml
@@ -17,7 +17,7 @@ jobs:
       - uses: actions/checkout@v4
       - run: npx doctoc doc/JSON_INFO.md --github
       - name: Create Pull Request
-        uses: peter-evans/create-pull-request@v4
+        uses: peter-evans/create-pull-request@v6
         with:
           commit-message: Update the table of contents
           branch: update-toc
modified   .github/workflows/update-tilesets.yml
@@ -35,7 +35,7 @@ jobs:
           make tools/format/json_formatter.cgi
           find gfx/ -name "*.json" -print0 | xargs -0 -L 1 -P $(nproc) tools/format/json_formatter.cgi || exit 0
       - name: Create Pull Request
-        uses: peter-evans/create-pull-request@v4
+        uses: peter-evans/create-pull-request@v6
         with:
           commit-message: |
             Routine tileset updates on ${{ steps.current-date.outputs.formattedTime }}
modified   .github/workflows/weekly-changelog.yml
@@ -33,7 +33,7 @@ jobs:
           echo "date=$( date +"%Y-%m-%d" -d $CURR_DATE )" >> $GITHUB_OUTPUT
           echo "old_date=$LAST_WEEK" >> $GITHUB_OUTPUT
       - name: Create Pull Request
-        uses: peter-evans/create-pull-request@v4
+        uses: peter-evans/create-pull-request@v6
         with:
           commit-message: Weekly Changelog ${{ steps.getting-changes.outputs.old_date }} to ${{ steps.getting-changes.outputs.date }}
           committer: David Seguin <[email protected]>

Additional context

maleclypse got me a job

deprecation warnings finally deliver.
@github-actions github-actions bot added Code: Tooling Tooling that is not part of the main game but is part of the repo. json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Apr 2, 2024
@dseguin dseguin merged commit 229f590 into CleverRaven:master Apr 3, 2024
22 checks passed
@casswedson casswedson deleted the bump-peter-pr branch April 4, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions Code: Tooling Tooling that is not part of the main game but is part of the repo. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants