File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments