Skip to content

Commit

Permalink
Merge pull request #47 from CSCfi/bugfix/fix-clean-containers
Browse files Browse the repository at this point in the history
Fix clean-containers
  • Loading branch information
csc-felipe authored Aug 12, 2024
2 parents 2727e4e + d5f32f0 commit 2f35749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/clean-containers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
name: ghcr actions

on:
workflow_dispatch:
schedule:
- cron: "21 21 * * *"

Expand All @@ -18,7 +19,7 @@ jobs:
steps:
- name: downcase REPO name
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
echo "REPO=$(echo $GITHUB_REPOSITORY | cut -f2 -d/)" >> ${GITHUB_ENV}
- name: Delete 'PR' containers older than a week
uses: snok/container-retention-policy@v3.0.0
with:
Expand Down

0 comments on commit 2f35749

Please sign in to comment.