File tree 4 files changed +17
-2
lines changed
4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 12
12
pull_request :
13
13
workflow_dispatch :
14
14
15
+ permissions :
16
+ contents : read
17
+ id-token : write
18
+
15
19
jobs :
16
20
test :
17
21
name : Test / OS ${{ matrix.os }} / Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 6
6
- master
7
7
- release/*
8
8
9
- pull_request_target :
9
+ pull_request :
10
10
branches :
11
11
- master
12
12
- release/*
16
16
- reopened
17
17
- ready_for_review
18
18
19
+ permissions :
20
+ contents : read
21
+
19
22
jobs :
20
23
check-conventional-commits :
21
24
runs-on : ubuntu-latest
26
29
sparse-checkout : |
27
30
.github
28
31
29
- - if : ${{ github.event_name == 'pull_request_target ' }}
32
+ - if : ${{ github.event_name == 'pull_request ' }}
30
33
run : |
31
34
set -ex
32
35
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Manual PyPi Publish
2
2
on :
3
3
workflow_dispatch :
4
4
5
+ permissions :
6
+ contents : read
7
+
5
8
jobs :
6
9
test :
7
10
name : Test / OS ${{ matrix.os }} / Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 4
4
schedule :
5
5
- cron : ' 0 0 * * *'
6
6
7
+ permissions :
8
+ contents : write
9
+ issues : write
10
+ pull-requests : write
11
+
7
12
jobs :
8
13
mark_stale :
9
14
name : Mark issues and PRs as Stale
You can’t perform that action at this time.
0 commit comments