Skip to content

Commit 40376d5

Browse files
committed
Merged branch '4.6'
2 parents 880efb8 + 31fd391 commit 40376d5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/auto_tag.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,22 @@ jobs:
2525
timeout-minutes: 30
2626

2727
steps:
28+
- name: Generate token
29+
id: generate_token
30+
uses: actions/create-github-app-token@v2
31+
with:
32+
app-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
33+
private-key: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
34+
owner: ${{ github.repository_owner }}
35+
2836
- name: Check for headless-assets tag
2937
uses: octokit/request-action@v2.x
3038
with:
3139
owner: ibexa
3240
repo: headless-assets
3341
route: /repos/{owner}/{repo}/contents/package.json?ref=v${{ inputs.version }}
3442
env:
35-
GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
43+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
3644

3745
# The jq command would return a zero exit status if it was able to filter the input JSON data and
3846
# produce at least one matching object in the array, and a non-zero exit status if no matching object was found.

0 commit comments

Comments
 (0)