We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 904465a commit 246ce1cCopy full SHA for 246ce1c
1 file changed
.github/workflows/main.yml
@@ -2,10 +2,6 @@ name: cicd
2
3
on:
4
push:
5
- branches:
6
- - main
7
- tags:
8
- - "*"
9
pull_request:
10
11
jobs:
@@ -59,7 +55,7 @@ jobs:
59
55
60
56
build-docker:
61
57
needs: unittest
62
- if: github.event_name == 'push'
58
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
63
runs-on: ubuntu-latest
64
permissions:
65
contents: read
@@ -99,7 +95,7 @@ jobs:
99
95
100
96
build-packages:
101
97
102
98
103
104
105
contents: write
0 commit comments