commit 227339a69647eb45bbac27dd58eb1dda869ff033 parent 7dd33a34a1c3f8c72a9f53e5e2f67f3a7125cd6c Author: finwo <finwo@pm.me> Date: Sun, 19 Feb 2023 21:35:28 +0100 Use github.token instead of secrets.GITHUB_TOKEN Diffstat:
| M | .github/workflows/update-v1.0.yml | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/update-v1.0.yml b/.github/workflows/update-v1.0.yml @@ -9,7 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - run: git config --global init.defaultBranch main - run: git config --global user.name $(git log -1 --pretty=format:'%an') - run: git config --global user.email $(git log -1 --pretty=format:'%ae') - - run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} + - run: git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }} - run: scripts/build-tag.sh v1.0