Skip to content

Commit

Permalink
CI-Workflow updates (#6481)
Browse files Browse the repository at this point in the history
* Use `github.ref` for the `concurrency` group, hoping that previous WF
  run works with that (see comment in this PR below).
* The `Ci Success` step doesn't need to be a matrix job
  • Loading branch information
snazy committed Apr 11, 2023
1 parent 138f20d commit afed1b2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ on:
concurrency:
# PRs: 1 CI run concurrently
# main branch: 1 CI run per commit (so every commit is checked)
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.head_commit.id }}-${{ github.event.pull_request.head.ref }}
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.head_commit.id }}-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -817,10 +817,6 @@ jobs:
# published.
- helm-testing
- site
strategy:
max-parallel: 2
matrix:
java-version: ['11'] # Ideally also '17', but GH concurrent job limit ... :(
steps:
# Intentionally empty job (for all GH WF) events so that the "required checks" setting
# only needs to contain this job as the only required check for PRs.
Expand Down

0 comments on commit afed1b2

Please sign in to comment.