Skip to content

Commit 7adfc62

Browse files
committed
Pass DELETE_PACKAGE_TOKEN to container-retention-policy
GitHub's new installation-token format (longer ghs_ JWT with hyphens) fails snok/container-retention-policy's hardcoded token regex; the action is unmaintained at v3.0.1. Use the org-wide DELETE_PACKAGE_TOKEN classic PAT, whose format isn't changing.
1 parent 2840c6a commit 7adfc62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/rebuild-ponyc-based-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ jobs:
783783
uses: snok/container-retention-policy@3b0972b2276b171b212f8c4efbca59ebba26eceb
784784
with:
785785
account: ponylang
786-
token: ${{ secrets.GITHUB_TOKEN }}
786+
token: ${{ secrets.DELETE_PACKAGE_TOKEN }}
787787
image-names: ${{ matrix.image }}
788788
tag-selection: untagged
789789
cut-off: 1d
@@ -821,7 +821,7 @@ jobs:
821821
uses: snok/container-retention-policy@3b0972b2276b171b212f8c4efbca59ebba26eceb
822822
with:
823823
account: ponylang
824-
token: ${{ secrets.GITHUB_TOKEN }}
824+
token: ${{ secrets.DELETE_PACKAGE_TOKEN }}
825825
image-names: ${{ matrix.image }}
826826
tag-selection: untagged
827827
cut-off: 1d

0 commit comments

Comments
 (0)