File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,18 @@ jobs:
118118 END_LINE=$((END_LINE - 1))
119119 RELEASE_BODY="$(head -$END_LINE CHANGELOG.md | tail -$((END_LINE - BEGIN_LINE)))"
120120 echo "$RELEASE_BODY" > release_notes.md
121+ - uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
122+ id : pmd-actions-helper-app-token
123+ with :
124+ app-id : ${{ secrets.PMD_ACTIONS_HELPER_ID }}
125+ private-key : ${{ secrets.PMD_ACTIONS_HELPER_PRIVATE_KEY }}
126+ owner : pmd
127+ repositories : pmd
128+ permission-contents : write # create a release
121129 - name : Create Release
122130 env :
123131 # Token required for GH CLI:
124- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
132+ GH_TOKEN : ${{ steps.pmd-actions-helper-app-token.outputs.token }}
125133 TAG_NAME : ${{ github.event.workflow_run.head_branch }}
126134 VERSION : ${{ needs.check-version.outputs.VERSION }}
127135 run : |
You can’t perform that action at this time.
0 commit comments