Commit c9fb940 1 parent 03643c6 commit c9fb940 Copy full SHA for c9fb940
File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 3
3
branches :
4
4
- main
5
5
6
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
6
+ # Cancel previous runs if a new commit is pushed to the same PR or branch
7
+ concurrency :
8
+ group : ${{ github.ref }} # Group runs by the ref (branch or PR)
9
+ cancel-in-progress : true # Cancel any ongoing runs in the same group
10
+
11
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages and modify PR labels
7
12
permissions :
8
- contents : read
9
- pages : write
10
- id-token : write
13
+ contents : read # Read access to repository contents
14
+ pages : write # Write access to GitHub Pages
15
+ id-token : write # Write access to ID tokens
11
16
12
17
jobs :
13
18
style_lint :
Original file line number Diff line number Diff line change 1
1
on :
2
2
pull_request :
3
3
4
+ # Cancel previous runs if a new commit is pushed to the same PR or branch
5
+ concurrency :
6
+ group : ${{ github.ref }} # Group runs by the ref (branch or PR)
7
+ cancel-in-progress : true # Cancel any ongoing runs in the same group
8
+
4
9
jobs :
5
10
build_project :
6
11
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments