File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -25,15 +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 admin-ui-assets tag
29- if : github.event.repository.name == 'oss'
3037 uses : octokit/request-action@v2.x
3138 with :
3239 owner : ibexa
3340 repo : admin-ui-assets
3441 route : /repos/{owner}/{repo}/contents/package.json?ref=v${{ inputs.version }}
3542 env :
36- GITHUB_TOKEN : ${{ secrets.TRAVIS_GITHUB_TOKEN }}
43+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
3744
3845 # The jq command would return a zero exit status if it was able to filter the input JSON data and
3946 # 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