Skip to content

Commit cb1286c

Browse files
authored
ci: Only run CI tests for newest commit to PRs (#3130)
1 parent 0f606e4 commit cb1286c

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/license-check.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
branches: [main]
1010
pull_request:
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
license:
1418
runs-on: ubuntu-latest

‎.github/workflows/lintBuildTest.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [main]
66
pull_request:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
10+
cancel-in-progress: true
11+
812
jobs:
913
install:
1014
timeout-minutes: 60

0 commit comments

Comments
 (0)