88 triage :
99 name : Pull Request Labeler
1010 runs-on : ubuntu-latest
11- if : " ! startsWith(github.event.pull_request.head.ref , 'release/')"
11+ if : " ! startsWith(github.head_ref , 'release/')"
1212 steps :
13- - name : Pull Request Labeler
14- uses : actions/labeler@v2
13+ - uses : actions/labeler@v2
1514 with :
1615 repo-token : ${{ secrets.GITHUB_TOKEN }}
1716
@@ -20,26 +19,23 @@ jobs:
2019 runs-on : ubuntu-latest
2120 if : github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
2221 steps :
23- - name : Pull Request Body
24- uses : technote-space/pr-commit-body-action@v1
22+ - uses : technote-space/pr-commit-body-action@v1
2523 with :
26- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2724 EXCLUDE_MESSAGES : |
2825 trigger workflow
2926 update TOC
3027 update package version
3128 update wp version
3229 TITLE : ' ## Changes'
33- LINK_ISSUE_KEYWORD : ${{ (startsWith(github.event.pull_request.head.ref , 'release/') && 'closes') || '' }}
30+ LINK_ISSUE_KEYWORD : ${{ (startsWith(github.head_ref , 'release/') && 'closes') || '' }}
3431 FILTER_PR : true
3532
3633 manageRelease :
3734 name : Manage release
3835 runs-on : ubuntu-latest
39- if : " github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.event.pull_request.head.ref , 'release/') && ! startsWith(github.event.pull_request.head.ref , 'release/v')"
36+ if : " github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref , 'release/') && ! startsWith(github.head_ref , 'release/v')"
4037 steps :
41- - name : Manage release
42- uses : technote-space/release-type-action@v1
38+ - uses : technote-space/release-type-action@v1
4339 with :
4440 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
4541 EXCLUDE_MESSAGES : |
4945 checkVersion :
5046 name : Check package version
5147 runs-on : ubuntu-latest
52- if : " github.event.pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.event.pull_request.head.ref , 'release/') && ! startsWith(github.event.pull_request.head.ref , 'release/v')"
48+ if : " github.event.action == 'synchronize' && github.event. pull_request.head.user.id == github.event.pull_request.base.user.id && startsWith(github.head_ref , 'release/') && ! startsWith(github.head_ref , 'release/v')"
5349 steps :
5450 - name : Set running flag
5551 run : echo "::set-env name=RUNNING::1"
6359 - name : Get version
6460 uses : technote-space/get-next-version-action@v1
6561 with :
66- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
62+ EXCLUDE_MESSAGES : |
63+ update package version
64+ update packages
6765 if : env.RUNNING
6866 - name : Check package version
6967 uses : technote-space/package-version-check-action@v1
0 commit comments