Skip to content

Commit 3adfbdf

Browse files
committed
feat(ci): running .github/workflows/create-linked-release.yml workflow with GitHub identity so that a new tag will trigger the build workflow
1 parent 8c60119 commit 3adfbdf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/create-linked-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,20 @@ jobs:
5050
echo "is_valid=false" >> "$GITHUB_OUTPUT"
5151
fi
5252
53+
- name: Generate GitHub App token
54+
id: app_token
55+
uses: actions/create-github-app-token@v2
56+
with:
57+
app-id: ${{ secrets.WORKFLOW_APP_ID }}
58+
private-key: ${{ secrets.WORKFLOW_APP_PRIVATE_KEY }}
59+
5360
- name: Checkout repository code
5461
# We need to check out the code to be able to check for existing tags and push new ones.
5562
if: steps.validate_tag.outputs.is_valid == 'true'
5663
uses: actions/checkout@v4
5764
with:
5865
fetch-tags: true
66+
token: ${{ steps.app_token.outputs.token }}
5967

6068
- name: Check if tag already exists locally
6169
id: check_tag

0 commit comments

Comments
 (0)