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