File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,12 +45,24 @@ jobs:
4545 curl -fsSL https://github.com/github/hub/raw/master/script/get | bash -s 2.14.1
4646 sudo mv bin/hub /usr/local/bin
4747
48+ - name : Generate GitHub App token
49+ id : app-token
50+ if : |
51+ github.event.action == 'closed' &&
52+ github.event.pull_request.merged == true
53+ uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
54+ with :
55+ client-id : ${{ secrets.LGTM_APP_CLIENT_ID }}
56+ private-key : ${{ secrets.LGTM_APP_PRIVATE_KEY }}
57+ owner : ${{ github.repository_owner }}
58+ repositories : CHANGELOG
59+
4860 - name : Update release tracker
4961 if : |
5062 github.event.action == 'closed' &&
5163 github.event.pull_request.merged == true
5264 env :
5365 GITHUB_USER : ${{ github.actor }}
54- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
5567 run : |
5668 ./hack/scripts/update-release-tracker.sh
You can’t perform that action at this time.
0 commit comments