We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7d86d71 + dee8819 commit d92d6acCopy full SHA for d92d6ac
workflow-templates/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