using secrets instead of actions context

This commit is contained in:
Taj 2022-12-16 20:30:14 +00:00
Родитель f2076df73d
Коммит 5a42b8b890
1 изменённых файлов: 2 добавлений и 2 удалений

4
.github/workflows/bump-cli.yml поставляемый
Просмотреть файл

@ -23,13 +23,13 @@ jobs:
fetch-depth: 1
- name: Bump CLI
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
scripts/replace-cli-version.sh
- name: Commit, Push and Open a PR
uses: ./.github/actions/create-pr
with:
token: ${{ github.token }}
token: ${{ secrets.GITHUB_TOKEN }}
base-branch: main
head-branch: github-action/bump-cli
commit-message: Bump CLI version from ${{ env.PREVIOUS_VERSION }} to ${{ env.LATEST_VERSION }} for integration tests