From 6b983c89d25d42470bfbe8b16d0abce4a4610c6e Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Tue, 12 May 2020 08:02:02 +0300 Subject: [PATCH] Make master branch updater work secrets.GITHUB_TOKEN doesn't have "workflow" permission, if master contains any, it won't update. --- .github/workflows/master_updater.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/master_updater.yml b/.github/workflows/master_updater.yml index 1d8e50ae0..f6ae76a29 100644 --- a/.github/workflows/master_updater.yml +++ b/.github/workflows/master_updater.yml @@ -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"