File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
# Uploading Code Scanning results requires write access. Ignore dependabot branches for auto-merge.
7
7
push :
8
8
branches-ignore : " dependabot/**"
9
+ tags :
10
+ - " *"
9
11
10
12
env :
11
13
# Use docker.io for Docker Hub if empty
@@ -150,7 +152,7 @@ jobs:
150
152
tmp/windows/kube-linter.exe lint "tests/checks/access-to-create-pods.yml"
151
153
152
154
image :
153
- if : startsWith(github.ref, 'refs/tags/')
155
+ if : (github.ref == 'refs/heads/main') || ( startsWith(github.ref, 'refs/tags/') )
154
156
needs : build-and-test
155
157
runs-on : ubuntu-latest
156
158
@@ -328,4 +330,4 @@ jobs:
328
330
upload_url : ${{ steps.release_drafter.outputs.upload_url }}
329
331
asset_path : darwin/kube-linter
330
332
asset_name : kube-linter-mac
331
- asset_content_type : application/octet-stream
333
+ asset_content_type : application/octet-stream
You can’t perform that action at this time.
0 commit comments