Skip to content

Commit

Permalink
add sync pr
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Nov 6, 2024
1 parent aaaff3c commit 2fd4814
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/rs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,19 @@ jobs:
git tag -a "$R_TAG" -m "Release v${{ needs.prepare.outputs.r_version }}"
git push origin "$R_TAG"
- name: Create Sync PR
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/pulls \
-d '{
"title": "chore: sync release v${{ needs.prepare.outputs.r_version }} to main",
"head": "${{ needs.prepare.outputs.rc_branch }}",
"base": "main",
"body": "This PR was created by GitHub Actions"
}'
- name: Create Draft Release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 2fd4814

Please sign in to comment.