Skip to content

Commit

Permalink
Merge pull request #337 from equinix/e2e-test-concurrency
Browse files Browse the repository at this point in the history
chore(ci): cancel in-flight approvals when a PR is updated
  • Loading branch information
ctreatma authored Aug 24, 2023
2 parents f688d2a + 61ec5af commit eaf83d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ jobs:
github.event.pull_request.head.repo.full_name != github.repository &&
'external' || 'internal' }}
runs-on: ubuntu-latest
concurrency:
group: ${{ github.event_name == 'pull_request_target' && format('e2e-authorize-pr-{0}', github.event.pull_request.number) || 'e2e-authorize' }}
cancel-in-progress: true
steps:
- run: true

e2e-test:
needs: authorize
runs-on: ubuntu-latest
concurrency: 'e2e-test'
steps:
- name: Set up Go
uses: actions/setup-go@v4
Expand Down

0 comments on commit eaf83d5

Please sign in to comment.