Skip to content

Commit 5b365f8

Browse files
authored
Pass DELETE_PACKAGE_TOKEN to container-retention-policy (#30)
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 e4c7009 commit 5b365f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-nightly-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
uses: snok/container-retention-policy@3b0972b2276b171b212f8c4efbca59ebba26eceb
5858
with:
5959
account: ponylang
60-
token: ${{ secrets.GITHUB_TOKEN }}
60+
token: ${{ secrets.DELETE_PACKAGE_TOKEN }}
6161
image-names: library-documentation-action-v2
6262
tag-selection: untagged
6363
cut-off: 1d

0 commit comments

Comments
 (0)