Skip to content

Commit 5b75a7a

Browse files
authored
Update CI workflow for master branch and concurrency
1 parent 4627d13 commit 5b75a7a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ name: CI
22

33
on:
44
push:
5+
branches: [master]
56
pull_request:
7+
workflow_dispatch:
68

79
concurrency:
8-
group: ci-${{ github.ref }}
9-
cancel-in-progress: true
10+
group: ci-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1012

1113
permissions:
1214
contents: read

0 commit comments

Comments
 (0)