We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a3b36 commit bc5cf6dCopy full SHA for bc5cf6d
.github/workflows/publish-go-tester-task.yml
@@ -39,10 +39,12 @@ jobs:
39
id: determination
40
run: |
41
RELEASE_BRANCH_REGEX="refs/heads/[0-9]+.[0-9]+.x"
42
+ TAG_REGEX="refs/tags/.*"
43
# The `create` event trigger doesn't support `branches` filters, so it's necessary to use Bash instead.
44
if [[ \
- "${{ github.event_name }}" != "create" || \
45
- "${{ github.ref }}" =~ $RELEASE_BRANCH_REGEX \
+ ("${{ github.event_name }}" != "create" || \
46
+ "${{ github.ref }}" =~ $RELEASE_BRANCH_REGEX) && \
47
+ ! "${{ github.ref }}" =~ $TAG_REGEX \
48
]]; then
49
# Run the other jobs.
50
RESULT="true"
0 commit comments