Skip to content

Commit

Permalink
Document github.ref_name instead of .head_ref
Browse files Browse the repository at this point in the history
head_ref is only available in pull requests. ref_name is also available
on push.
  • Loading branch information
ekohl committed Mar 21, 2022
1 parent 1da427c commit 151b0d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ name: CI
on: pull_request

concurrency:
group: ${{ github.head_ref }}
group: ${{ github.ref_name }}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -126,7 +126,7 @@ name: CI
on: pull_request
concurrency:
group: ${{ github.head_ref }}
group: ${{ github.ref_name }}
cancel-in-progress: true
jobs:
Expand Down Expand Up @@ -205,7 +205,7 @@ name: CI
on: pull_request
concurrency:
group: ${{ github.head_ref }}
group: ${{ github.ref_name }}
cancel-in-progress: true
jobs:
Expand Down

0 comments on commit 151b0d3

Please sign in to comment.