File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 4242 with :
4343 persist-credentials : false
4444
45- - name : Generate Token
46- uses : actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
47- id : app-token
48- with :
49- app-id : ${{ secrets.BOT_APP_ID }}
50- private-key : ${{ secrets.BOT_APP_PRIVATE_KEY }}
51-
5245 - name : Install Cosign
5346 uses : sigstore/cosign-installer@d58896d6a1865668819e1d91763c7751a165e159 # v3.9.2
5447
6457 - name : Get Container Registry Version
6558 id : registry
6659 env :
67- GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
60+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6861 run : |
6962 if ! version=$(regctl image inspect ghcr.io/${{ github.repository_owner }}/${{ matrix.app }}:rolling \
7063 | jq --raw-output '.config.Labels["org.opencontainers.image.version"]' 2>/dev/null) || [[ -z "${version}" ]];
@@ -79,14 +72,14 @@ jobs:
7972 uses : juliangruber/find-pull-request-action@952b3bb1ddb2dcc0aa3479e98bb1c2d1a922f096 # v1.10.0
8073 id : find-pull-request
8174 with :
82- github-token : ${{ steps.app-token.outputs.token }}
75+ github-token : ${{ secrets.GITHUB_TOKEN }}
8376 labels : app/${{ matrix.app }}
8477 state : open
8578
8679 - if : ${{ steps.find-pull-request.outputs.number != '' }}
8780 name : Retry Release
8881 env :
89- GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
82+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9083 run : | # zizmor: ignore[template-injection]
9184 gh workflow run release.yaml \
9285 --repo ${{ github.repository }} \
You can’t perform that action at this time.
0 commit comments