Skip to content

Commit 55e7c9b

Browse files
committed
fix: trigger compile-gh-aw-lock on push to fix-renovate-tests.md (not just workflow_dispatch)
1 parent b45bbb7 commit 55e7c9b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/compile-gh-aw-lock.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ name: Compile gh-aw lock file
55
# Run manually after changing fix-renovate-tests.md frontmatter.
66

77
on:
8+
push:
9+
paths:
10+
- ".github/workflows/fix-renovate-tests.md"
811
workflow_dispatch:
912
inputs:
1013
branch:
@@ -28,7 +31,7 @@ jobs:
2831
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2932
with:
3033
token: ${{ env.BOT_TOKEN }}
31-
ref: ${{ github.event.inputs.branch }}
34+
ref: ${{ github.event.inputs.branch || github.ref_name }}
3235
fetch-depth: 1
3336

3437
- name: Install gh-aw extension

0 commit comments

Comments
 (0)