Skip to content

Commit e82211d

Browse files
committed
CI: Add concurrency and permissions to GitHub actions
1 parent 84e7d61 commit e82211d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ on:
1010
pull_request:
1111
branches: [ master ]
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
permissions:
18+
contents: read
19+
1320
jobs:
1421
build:
1522
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)