We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9238af8 commit 16bcdb9Copy full SHA for 16bcdb9
1 file changed
.github/workflows/tests.yaml
@@ -8,6 +8,15 @@ on:
8
- "v*"
9
workflow_dispatch:
10
11
+permissions:
12
+ contents: read
13
+ issues: read
14
+ pull-requests: read
15
+
16
+concurrency:
17
+ group: ${{ github.workflow }}-${{ github.ref }}
18
+ cancel-in-progress: true
19
20
jobs:
21
pre-commit:
22
runs-on: ubuntu-24.04
@@ -35,10 +44,9 @@ jobs:
35
44
tests:
36
45
37
46
env:
38
- # Use TOKEN_READONLY if available (pushed branches), otherwise use GITHUB_TOKEN (PRs)
39
- # TOKEN_READONLY is a PAT for @choldgraf that only has read-access to this repo but isn't available in PRs.
40
- GITHUB_ACCESS_TOKEN: "${{ secrets.TOKEN_READONLY || github.token }}"
47
+ GITHUB_ACCESS_TOKEN: "${{ github.token }}"
41
48
strategy:
49
+ max-parallel: 1
42
50
matrix:
43
51
include:
52
# Only test oldest supported and latest python version to reduce
0 commit comments