File tree Expand file tree Collapse file tree 4 files changed +17
-6
lines changed Expand file tree Collapse file tree 4 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 11
11
- reopened
12
12
- opened
13
13
14
- permissions :
15
- pull-requests : write
14
+ # Limit token permissions for security
15
+ permissions : read-all
16
16
17
17
jobs :
18
18
add-to-project :
19
19
uses : seedcase-project/.github/.github/workflows/reusable-add-to-project.yml@main
20
+ permissions :
21
+ pull-requests : write
20
22
with :
21
23
board-number : 18
22
24
app-id : ${{ vars.ADD_TO_BOARD_APP_ID }}
Original file line number Diff line number Diff line change 21
21
branches :
22
22
- main
23
23
24
- permissions :
25
- contents : write
24
+ # Limit token permissions for security
25
+ permissions : read-all
26
26
27
27
jobs :
28
28
build :
29
29
uses : seedcase-project/.github/.github/workflows/reusable-build-python.yml@main
30
+ # Permissions needed for pushing to the coverage branch.
31
+ permissions :
32
+ contents : write
Original file line number Diff line number Diff line change 5
5
- main
6
6
workflow_dispatch :
7
7
8
+ # Limit token permissions for security
9
+ permissions : read-all
10
+
8
11
jobs :
9
12
sync :
10
13
uses : seedcase-project/.github/.github/workflows/reusable-sync-files.yml@main
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
- permissions :
9
- contents : write
8
+ # Limit token permissions for security
9
+ permissions : read-all
10
10
11
11
jobs :
12
12
update-version :
13
+ # Only give permissions for this job.
14
+ permissions :
15
+ contents : write
13
16
uses : seedcase-project/.github/.github/workflows/reusable-update-python-project-version.yml@main
14
17
with :
15
18
app-id : ${{ vars.UPDATE_VERSION_APP_ID }}
You can’t perform that action at this time.
0 commit comments