We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd15862 commit 764df65Copy full SHA for 764df65
1 file changed
.github/workflows/release.yaml
@@ -10,7 +10,7 @@ on:
10
types:
11
- closed
12
branches:
13
- - "update/**"
+ - main
14
15
permissions:
16
contents: write # For creating releases.
@@ -26,7 +26,9 @@ jobs:
26
package-linux:
27
name: ${{ format('linux-{0}', matrix.vscode_arch) }}
28
runs-on: ubuntu-22.04
29
- if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
+ 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/'))
32
33
strategy:
34
matrix:
0 commit comments