Skip to content

Commit

Permalink
Merge pull request #119 from VeyronSakai/ci/update-release
Browse files Browse the repository at this point in the history
Update release.yml
  • Loading branch information
VeyronSakai authored Jun 29, 2024
2 parents bbee2aa + 2b526e7 commit 1c86f23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,15 @@ jobs:
message: "Update README.md"
add: "README.md"
new_branch: ${{ env.SOURCE_BRANCH }}
- uses: actions/create-github-app-token@v1
id: create-github-app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create pull request and merge
if: ${{ steps.commit-package-json.outputs.committed == 'true' || steps.commit-readme.outputs.committed == 'true'}}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ steps.create-github-app-token.outputs.token }}
run: |
gh pr create --title "Update files for release" --body "Update files for release" --base main --head "${SOURCE_BRANCH}"
gh pr merge "${SOURCE_BRANCH}" --auto --merge
Expand Down

0 comments on commit 1c86f23

Please sign in to comment.