Skip to content

Commit f552f96

Browse files
authored
Merge pull request #22 from CSCfi/bugfix/fix-clean-containers
Fix clean-containers
2 parents abef559 + bc5733e commit f552f96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/clean-containers.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
name: ghcr actions
77

88
on:
9+
workflow_dispatch:
910
schedule:
1011
- cron: "21 21 * * *"
1112

@@ -18,7 +19,7 @@ jobs:
1819
steps:
1920
- name: downcase REPO name
2021
run: |
21-
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
22+
echo "REPO=$(echo $GITHUB_REPOSITORY | cut -f2 -d/)" >> ${GITHUB_ENV}
2223
- name: Delete 'PR' containers older than a week
2324
uses: snok/[email protected]
2425
with:

0 commit comments

Comments
 (0)