File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 4
4
release :
5
5
types : [created]
6
6
7
+ permissions :
8
+ contents : read
9
+
7
10
jobs :
8
11
deploy :
9
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : write # Only grant write permission to contents for this job
10
15
steps :
11
- - uses : actions/checkout@v1
16
+ - uses : actions/checkout@v2 # Updated to the latest version
12
17
- name : Set up Python
13
- uses : actions/setup-python@v1
18
+ uses : actions/setup-python@v2 # Updated to the latest version
14
19
with :
15
20
python-version : ' 3.x'
16
21
- name : Install dependencies
Original file line number Diff line number Diff line change @@ -2,9 +2,13 @@ name: Unit tests and coverage
2
2
3
3
on : [push, workflow_dispatch, pull_request]
4
4
5
- jobs :
6
- build :
5
+ permissions :
6
+ contents : read
7
+ issues : write
8
+ pull-requests : write
7
9
10
+ jobs :
11
+ build :
8
12
runs-on : ${{ matrix.os }}
9
13
strategy :
10
14
matrix :
You can’t perform that action at this time.
0 commit comments