Skip to content

Commit 33279c8

Browse files
committed
ci: fix patch version bump PR push, upgrade actions to node24 runtimes
checkout v5+ defaults persist-credentials to false, so set it explicitly to keep the token in the local git config for create-pull-request to push. - actions/setup-node v3 -> v7 - actions/checkout v3 -> v7 - peter-evans/create-pull-request v4 -> v8
1 parent 9d68086 commit 33279c8

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/patch-version-bump.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ jobs:
99
runs-on: ubuntu-22.04
1010
steps:
1111
- name: setup node
12-
uses: actions/setup-node@v3
12+
uses: actions/setup-node@v7
1313
with:
1414
node-version: 24
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v7
1616
with:
1717
ref: main
18+
# keep the checkout token in the local git config so that
19+
# peter-evans/create-pull-request can push the bump branch
20+
persist-credentials: true
1821
- name: Bump patch version
1922
run: |
2023
npm ci
@@ -26,7 +29,7 @@ jobs:
2629

2730
- name: Create Bump patch version Pull Request
2831
id: cpr
29-
uses: peter-evans/create-pull-request@v4
32+
uses: peter-evans/create-pull-request@v8
3033
with:
3134
commit-message: 'ci: bump patch version to ${{ env.PHOENIX_VERSION }}'
3235
committer: GitHub <noreply@github.com>

0 commit comments

Comments
 (0)