Skip to content

Commit

Permalink
Merge pull request #22 from VeyronSakai/ci/release-workflow
Browse files Browse the repository at this point in the history
Add GH_TOKEN
  • Loading branch information
VeyronSakai authored Apr 27, 2024
2 parents 7381a9e + c4b03ac commit 93be2f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ jobs:
dotnet-version: "7.0.x"
- name: Create pull request and merge
if: ${{ steps.commit-package-json.outputs.committed == 'true' }}
env:
GH_TOKEN: ${{ secrets.GH_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}" --merge --admin
gh pr merge "${SOURCE_BRANCH}" --auto --merge
release:
name: Release
Expand Down

0 comments on commit 93be2f5

Please sign in to comment.