File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,24 @@ jobs:
3232 curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
3333 sudo mv bin/hub /usr/local/bin
3434
35+ - name : Generate GitHub App token
36+ id : app-token
37+ if : |
38+ github.event.action == 'closed' &&
39+ github.event.pull_request.merged == true
40+ uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
41+ with :
42+ client-id : ${{ secrets.LGTM_APP_CLIENT_ID }}
43+ private-key : ${{ secrets.LGTM_APP_PRIVATE_KEY }}
44+ owner : ${{ github.repository_owner }}
45+ repositories : CHANGELOG
46+
3547 - name : Update release tracker
3648 if : |
3749 github.event.action == 'closed' &&
3850 github.event.pull_request.merged == true
3951 env :
4052 GITHUB_USER : ${{ github.actor }}
41- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
4254 run : |
4355 ./hack/scripts/update-release-tracker.sh
You can’t perform that action at this time.
0 commit comments