We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 223801f commit 6552530Copy full SHA for 6552530
1 file changed
.github/workflows/iwyu.yml
@@ -9,6 +9,8 @@ on:
9
description: 'Branch to clean up.'
10
type: string
11
default: dev
12
+ push:
13
+ branches: [iwyu-test]
14
15
permissions:
16
contents: write
@@ -28,7 +30,7 @@ jobs:
28
30
steps:
29
31
- name: Resolve target ref.
32
id: target
- run: echo "ref=${{ inputs.ref || 'dev' }}" >> $GITHUB_OUTPUT
33
+ run: echo "ref=${{ inputs.ref || (github.event_name == 'push' && github.ref_name) || 'dev' }}" >> $GITHUB_OUTPUT
34
35
- name: Clone.
36
uses: actions/checkout@v6
@@ -179,7 +181,7 @@ jobs:
179
181
open-pr:
180
182
name: Open pull request
183
needs: [generate, verify-linux, verify-mac, verify-win]
- if: needs.generate.outputs.has_changes == 'true'
184
+ if: needs.generate.outputs.has_changes == 'true' && github.event_name != 'push'
185
runs-on: ubuntu-latest
186
187
0 commit comments