Skip to content

Commit 1c39077

Browse files
committed
CI: Update GHA configuration
1 parent 1f5209d commit 1c39077

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
name: Tests
2+
23
on:
34
push:
45
branches: [ main ]
5-
pull_request:
6-
branches: [ main ]
6+
pull_request: ~
7+
8+
# Allow job to be triggered manually.
9+
workflow_dispatch:
10+
11+
# Cancel in-progress jobs when pushing to the same branch.
12+
concurrency:
13+
cancel-in-progress: true
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
716
jobs:
817
tests:
918
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)