Skip to content

Commit a2aa24d

Browse files
hua7450claude
andcommitted
Bump actions/checkout to v6 and replace EndBug/add-and-commit with git commands
Fixes Node.js 20 deprecation warnings. Both actions/checkout@v4 and EndBug/add-and-commit@v9 use Node 20. Checkout bumped to v6 (Node 22), and add-and-commit replaced with plain git commands. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 375f08b commit a2aa24d

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: "!contains(github.event.head_commit.message, 'Update PolicyEngine Claude')"
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

1818
- name: Bump version
1919
run: python .github/bump_version.py
@@ -22,11 +22,10 @@ jobs:
2222
run: python .github/build_changelog.py
2323

2424
- name: Commit and push
25-
uses: EndBug/add-and-commit@v9
26-
with:
27-
message: "Update PolicyEngine Claude"
28-
default_author: github_actions
29-
add: |
30-
.claude-plugin/marketplace.json
31-
CHANGELOG.md
32-
changelog.d/
25+
run: |
26+
git config user.name "github-actions[bot]"
27+
git config user.email "github-actions[bot]@users.noreply.github.com"
28+
git add .claude-plugin/marketplace.json CHANGELOG.md changelog.d/
29+
git diff --staged --quiet && echo "No changes to commit" && exit 0
30+
git commit -m "Update PolicyEngine Claude"
31+
git push

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717

1818
- name: Require changelog fragment
1919
run: |
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535

3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v6
3838

3939
- name: Check JSON syntax
4040
run: |

0 commit comments

Comments
 (0)