File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 types : [closed]
66 branches : [master]
7+ workflow_dispatch :
78
89permissions :
910 contents : read
2021 runs-on : ubuntu-latest
2122 # Run when PR with 'release' label is merged to master
2223 if : |
23- github.event.pull_request.merged == true
24- && contains(github.event.pull_request.labels.*.name, 'release')
24+ github.event_name == 'workflow_dispatch' ||
25+ (github.event_name == 'pull_request' &&
26+ github.event.pull_request.merged == true &&
27+ contains(github.event.pull_request.labels.*.name, 'release'))
2528 outputs :
2629 should-release : ${{ steps.check.outputs.should-release }}
2730 steps :
@@ -101,8 +104,8 @@ jobs:
101104 - name : Install Rust
102105 uses : dtolnay/rust-toolchain@0b1efabc08b657293548b77fb76cc02d26091c7e
103106 with :
104- toolchain : 1.91.1
105- components : cargo
107+ toolchain : 1.91.1
108+ components : cargo
106109
107110 - name : Cache Sampo CLI
108111 id : cache-sampo
You can’t perform that action at this time.
0 commit comments