Commit d656ac4 1 parent 5a18a14 commit d656ac4 Copy full SHA for d656ac4
File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ name: CI
2
2
3
3
on :
4
4
push :
5
+ tags :
6
+ - " v*"
5
7
branches :
6
8
- main
7
- - release-*
8
9
pull_request :
9
10
branches :
10
11
- " *"
21
22
tests :
22
23
name : Run unit tests
23
24
runs-on : ubuntu-latest
25
+ if : github.ref_type != 'tag'
24
26
steps :
25
27
- name : Checkout
26
28
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35
37
linting :
36
38
name : Run linting
37
39
runs-on : ubuntu-latest
40
+ if : github.ref_type != 'tag'
38
41
steps :
39
42
- name : Checkout
40
43
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
55
58
markdown-lint :
56
59
name : Lint markdown files
57
60
runs-on : ubuntu-latest
61
+ if : github.ref_type != 'tag'
58
62
steps :
59
63
- name : Checkout
60
64
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ createDockerImageTag() {
15
15
}
16
16
17
17
createDockerImageLabels () {
18
- if [[ " ${GITHUB_REF_TYPE} " != " tag" ]] && [[ ! " ${GITHUB_REF_NAME} " =~ ^release- * ]]; then
18
+ if [[ " ${GITHUB_REF_TYPE} " != " tag" ]] && [[ " ${GITHUB_REF_NAME} " != " main " ]]; then
19
19
echo " quay.expires-after=10d"
20
20
fi
21
21
You can’t perform that action at this time.
0 commit comments