summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-02-18 17:50:06 +0800
committerErik Kundiman <erik@megapahit.org>2025-02-18 17:50:06 +0800
commit4bf9c1314565bbca8ca62db994e201de7c5a97b7 (patch)
tree9e118846d4abb1fa6edccbcc615beac8b7f8972a /.github
parent54afd71f42d8bc15217dd14d3924661bd9aaa044 (diff)
parent0679cbdec89fbd3ec470768bdf469f6a1d326859 (diff)
Merge commit '0679cbdec89fbd3ec470768bdf469f6a1d326859' into tmp
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tag-release.yaml7
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,