File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1717 bump :
1818 required : true
1919 type : string
20+ secrets :
21+ PLOTNIK_PAT :
22+ required : true
2023
2124jobs :
2225 bump :
@@ -59,14 +62,15 @@ jobs:
5962
6063 - name : Create PR
6164 env :
62- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65+ GH_TOKEN : ${{ secrets.PLOTNIK_PAT }}
6366 run : |
6467 next="${{ steps.version.outputs.next }}"
6568 git config user.name "github-actions[bot]"
6669 git config user.email "github-actions[bot]@users.noreply.github.com"
6770 git checkout -b "bump/v$next"
6871 git add Cargo.toml Cargo.lock crates/plotnik-cli/Cargo.toml
6972 git commit -m "chore: Bump version to \`$next\`"
73+ git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}"
7074 git push -u origin "bump/v$next"
7175 gh pr create \
7276 --title "chore: Bump version to \`$next\`" \
Original file line number Diff line number Diff line change 5454 uses : ./.github/workflows/bump.yml
5555 with :
5656 bump : patch
57- permissions :
58- contents : write
59- pull-requests : write
57+ secrets :
58+ PLOTNIK_PAT : ${{ secrets.PLOTNIK_PAT }}
You can’t perform that action at this time.
0 commit comments