File tree 3 files changed +13
-2
lines changed
3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
workflow_dispatch :
9
9
10
+ permissions :
11
+ contents : read
12
+
10
13
jobs :
11
14
test :
12
15
name : Test / OS ${{ matrix.os }} / Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 6
6
- main
7
7
- release/*
8
8
9
- pull_request_target :
9
+ pull_request :
10
10
branches :
11
11
- main
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 4
4
schedule :
5
5
- cron : ' 0 0 * * *'
6
6
7
+ permissions :
8
+ issues : write
9
+ pull-requests : write
10
+ contents : read
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