mirror of
https://github.com/google-github-actions/auth.git
synced 2026-06-06 10:47:03 +00:00
Handle non-pull request runs (#42)
github.head_ref is only available in PRs, so the build failed on main
This commit is contained in:
parent
d97e31546b
commit
d5ed5bab89
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test.yaml
vendored
2
.github/workflows/test.yaml
vendored
|
|
@ -9,7 +9,7 @@ on:
|
|||
- 'main'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }}
|
||||
group: '${{ github.head_ref || github.base_ref }}'
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue