@@ -17,14 +17,13 @@ jobs:
1717 runs-on : ubuntu-latest
1818 if : github.event.pull_request.head.user.id == github.event.pull_request.base.user.id
1919 steps :
20+ - uses : technote-space/load-config-action@v1
21+ with :
22+ CONFIG_FILENAME : workflow-settings.json
2023 - uses : technote-space/pr-commit-body-action@v1
2124 with :
22- EXCLUDE_MESSAGES : |
23- trigger workflow
24- update TOC
25- update package version
26- update wp version
27- TITLE : ' ## Changes'
25+ EXCLUDE_MESSAGES : ${{ env.EXCLUDE_MESSAGES }}
26+ TITLE : ${{ env.PR_BODY_TITLE }}
2827 LINK_ISSUE_KEYWORD : ${{ (startsWith(github.head_ref, 'release/') && 'closes') || '' }}
2928 FILTER_PR : true
3029
@@ -33,18 +32,22 @@ jobs:
3332 runs-on : ubuntu-latest
3433 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')"
3534 steps :
35+ - uses : technote-space/load-config-action@v1
36+ with :
37+ CONFIG_FILENAME : workflow-settings.json
3638 - uses : technote-space/release-type-action@v1
3739 with :
40+ EXCLUDE_MESSAGES : ${{ env.EXCLUDE_MESSAGES }}
3841 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
39- EXCLUDE_MESSAGES : |
40- update package version
41- update packages
4242
4343 checkVersion :
4444 name : Check package version
4545 runs-on : ubuntu-latest
4646 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')"
4747 steps :
48+ - uses : technote-space/load-config-action@v1
49+ with :
50+ CONFIG_FILENAME : workflow-settings.json
4851 - name : Set running flag
4952 run : echo "::set-env name=RUNNING::1"
5053 - uses : actions/checkout@v2
5760 - name : Get version
5861 uses : technote-space/get-next-version-action@v1
5962 with :
60- EXCLUDE_MESSAGES : |
61- update package version
62- update packages
63+ EXCLUDE_MESSAGES : ${{ env.EXCLUDE_MESSAGES }}
6364 if : env.RUNNING
6465 - name : Check package version
6566 uses : technote-space/package-version-check-action@v1
0 commit comments