File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ typescript:
4
4
- ' **/*.ts'
5
5
php :
6
6
- ' **/*.php'
7
+ python :
8
+ - ' **/*.py'
7
9
8
10
' Type: Testing ' :
9
11
- ' **/tests/*'
Original file line number Diff line number Diff line change 2
2
pull_request :
3
3
branches :
4
4
- master
5
+ - main
5
6
- develop/v*
6
7
types : [closed]
7
8
Original file line number Diff line number Diff line change 17
17
run : echo "::set-env name=RUNNING::1"
18
18
- uses : actions/checkout@v2
19
19
- uses : technote-space/get-git-comment-action@v1
20
- - uses : technote-space/get-diff-action@v1
20
+ - uses : technote-space/get-diff-action@v2
21
21
with :
22
22
PREFIX_FILTER : |
23
23
src/
66
66
run : echo "::set-env name=RUNNING::1"
67
67
- uses : actions/checkout@v2
68
68
- uses : technote-space/get-git-comment-action@v1
69
- - uses : technote-space/get-diff-action@v1
69
+ - uses : technote-space/get-diff-action@v2
70
70
with :
71
71
PREFIX_FILTER : |
72
72
src/
Original file line number Diff line number Diff line change 1
1
on :
2
- pull_request :
2
+ pull_request_target :
3
3
types : [opened]
4
4
5
5
name : Pull Request opened
6
6
7
7
jobs :
8
8
assignToProject :
9
- if : github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
10
9
name : Assign PullRequest to Project
11
10
runs-on : ubuntu-latest
12
11
timeout-minutes : 3
Original file line number Diff line number Diff line change 1
- on : pull_request
1
+ on : pull_request_target
2
2
3
3
name : Pull Request updated
4
4
55
55
- name : Set running flag
56
56
run : echo "::set-env name=RUNNING::1"
57
57
- uses : actions/checkout@v2
58
+ with :
59
+ ref : ${{ github.head_ref }}
58
60
- name : Set running flag
59
61
run : |
60
62
if [[ ! -f package.json ]] || [[ $(< package.json jq -r '.version == null') == 'true' ]]; then
96
98
NPM_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
97
99
98
100
- uses : actions/checkout@v2
101
+ with :
102
+ ref : ${{ github.head_ref }}
99
103
if : env.RUNNING
100
104
- uses : technote-space/can-npm-publish-action@v1
101
105
if : env.RUNNING
You can’t perform that action at this time.
0 commit comments