File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 types :
1111 - closed
1212 branches :
13- - " update/** "
13+ - main
1414
1515permissions :
1616 contents : write # For creating releases.
2626 package-linux :
2727 name : ${{ format('linux-{0}', matrix.vscode_arch) }}
2828 runs-on : ubuntu-22.04
29- if : github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
29+ if : >-
30+ (github.event_name == 'workflow_dispatch') ||
31+ (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'update/'))
3032
3133 strategy :
3234 matrix :
@@ -133,7 +135,9 @@ jobs:
133135 package-macos :
134136 name : ${{ matrix.vscode_target }}
135137 runs-on : ${{ matrix.os }}
136- if : github.event_name == 'workflow_dispatch' || github.event.pull_request_merged == true
138+ if : >-
139+ (github.event_name == 'workflow_dispatch') ||
140+ (github.event_name == 'pull_request_target' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'update/'))
137141 strategy :
138142 matrix :
139143 include :
You can’t perform that action at this time.
0 commit comments