Skip to content

Commit 1ef83c9

Browse files
committed
fix(ghcr-prune): actually delete on scheduled runs
The dry-run expression evaluated to true for every non-dispatch event, so the weekly schedule never deleted anything despite 628eb65 taking the prune live (17724 versions pending as of run 39580413008). Scheduled runs now delete; manual dispatch still honors the dry-run input.
1 parent cf4fb12 commit 1ef83c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/ghcr-prune.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ jobs:
3434
package: php-docker
3535
delete-untagged: true
3636
older-than: 28 days
37-
dry-run: ${{ github.event_name != 'workflow_dispatch' || inputs.dry-run }}
37+
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry-run }}

0 commit comments

Comments
 (0)