diff options
author | Brad Linden <brad@lindenlab.com> | 2025-01-27 16:18:32 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2025-01-27 16:18:32 -0800 |
commit | 26e1520b7f8183f9e3e45bd82f600da1fec559e3 (patch) | |
tree | f0a44ed1c7e2a4c8b272de10d510150745779d7f | |
parent | 52a9316207f225e39a1e192ee8e666631ba6a646 (diff) |
Backport tag-release token fix to release/2024.12-ForeverFPS branch
-rw-r--r-- | .github/workflows/tag-release.yaml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/tag-release.yaml b/.github/workflows/tag-release.yaml index 65d1d43a83..24ee2de794 100644 --- a/.github/workflows/tag-release.yaml +++ b/.github/workflows/tag-release.yaml @@ -37,7 +37,12 @@ jobs: - name: Update Tag uses: actions/github-script@v7.0.1 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + # use a real access token instead of GITHUB_TOKEN default. + # required so that the results of this tag creation can trigger the build workflow + # https://stackoverflow.com/a/71372524 + # https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow + # this token will need to be renewed anually in January + github-token: ${{ secrets.LL_TAG_RELEASE_TOKEN }} script: | github.rest.git.createRef({ owner: context.repo.owner, |