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