Make master branch updater work
secrets.GITHUB_TOKEN doesn't have "workflow" permission, if master contains any, it won't update.
This commit is contained in:
parent
baa898acf4
commit
6b983c89d2
1 changed files with 1 additions and 1 deletions
2
.github/workflows/master_updater.yml
vendored
2
.github/workflows/master_updater.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Push the code to the master branch.
|
||||
run: |
|
||||
url=https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||
url=https://x-access-token:${{ secrets.WORKFLOW_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||
latest_tag=$(git describe --tags --abbrev=0)
|
||||
echo "Latest tag: $latest_tag"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue