File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : CD
2
2
3
3
on :
4
- push :
4
+ pull_request :
5
+ types :
6
+ - closed
5
7
branches :
6
- - main
7
- paths :
8
- - " src/**"
8
+ - ' main'
9
9
workflow_dispatch :
10
10
11
11
12
12
jobs :
13
13
version-type :
14
14
name : Get version type
15
- if : github.actor != 'bitwarden-devops-bot'
15
+ if : github.event.pull_request.merged == true
16
16
uses : ./.github/workflows/_version_type.yml
17
17
18
18
version-bump :
19
19
name : Version bump
20
- if : github.actor != 'bitwarden-devops-bot'
21
20
runs-on : ubuntu-24.04
22
21
needs : version-type
23
22
outputs :
94
93
95
94
release :
96
95
name : GitHub release
97
- if : github.actor != 'bitwarden-devops-bot'
98
96
runs-on : ubuntu-22.04
99
97
needs : version-bump
100
98
steps :
@@ -112,7 +110,6 @@ jobs:
112
110
113
111
deploy :
114
112
name : Deploy workflow-linter (v2)
115
- if : github.actor != 'bitwarden-devops-bot'
116
113
runs-on : ubuntu-22.04
117
114
needs : version-bump
118
115
steps :
You can’t perform that action at this time.
0 commit comments