Skip to content

Commit

Permalink
${{ github.head_ref }} not available for issue comment trigger
Browse files Browse the repository at this point in the history
We will use group based on issue number - so that on every PR only one
parallel tests for containers and ocp could run.
  • Loading branch information
zmiklank committed Mar 6, 2024
1 parent 0377f1f commit fef8a87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
- created

concurrency:
group: ${{ github.head_ref }}
group: container_tests-${{ github.event.issue.number }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openshift-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
- created

concurrency:
group: ${{ github.head_ref }}
group: ocp_tests-${{ github.event.issue.number }}
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit fef8a87

Please sign in to comment.