We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf90183 commit 91a8a5eCopy full SHA for 91a8a5e
.github/workflows/delete-pr-image.yml
@@ -19,6 +19,10 @@ jobs:
19
run: |
20
BRANCH="${{ github.event.pull_request.head.ref }}"
21
TAG="${BRANCH//\//_}"
22
+ if ! [[ $TAG =~ ^[A-Za-z0-9._-]+$ ]]; then
23
+ echo "Exiting - Manages branches only if they contain letters, numbers and the following special characters: . - _"
24
+ exit 1
25
+ fi
26
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
27
28
- name: Delete image by tag from GHCR
0 commit comments