Skip to content

Release: Merge back 2.40.1 into dev from: master-into-dev/2.40.1-2.41.0-dev #26496

Release: Merge back 2.40.1 into dev from: master-into-dev/2.40.1-2.41.0-dev

Release: Merge back 2.40.1 into dev from: master-into-dev/2.40.1-2.41.0-dev #26496

name: Cancel outdated workflow runs
# For each branch (i.e. PR) we're only interested in the latest commit to be tested
# this job cancels any previous workflow runs still in progress on the same branch
# freeing up spots in the queue for the most recent commits
# and saving some trees along the way
# run on pull_request_target because we need write access to the GItHub API
# don't run any code from PR here!
on: [push, pull_request_target]
jobs:
cancel:
name: 'Cancel Outdated Workflow Runs'
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
workflow_id: 'integration-tests.yml,k8s-testing.yml,unit-tests.yml'
access_token: ${{ github.token }}