Skip to content

Commit 5a42b8b

Browse files
committed
using secrets instead of actions context
1 parent f2076df commit 5a42b8b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/bump-cli.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
fetch-depth: 1
2424
- name: Bump CLI
2525
env:
26-
GH_TOKEN: ${{ github.token }}
26+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
run: |
2828
scripts/replace-cli-version.sh
2929
- name: Commit, Push and Open a PR
3030
uses: ./.github/actions/create-pr
3131
with:
32-
token: ${{ github.token }}
32+
token: ${{ secrets.GITHUB_TOKEN }}
3333
base-branch: main
3434
head-branch: github-action/bump-cli
3535
commit-message: Bump CLI version from ${{ env.PREVIOUS_VERSION }} to ${{ env.LATEST_VERSION }} for integration tests

0 commit comments

Comments
 (0)