Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,22 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag "v${{ steps.version.outputs.value }}"
git push origin "v${{ steps.version.outputs.value }}"

merge-back:
name: Merge Release Back to Develop
runs-on: ubuntu-latest
needs: tag
permissions:
pull-requests: write
steps:
- name: Open PR to merge release branch back into develop
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_URL=$(gh pr create \
--repo "$GITHUB_REPOSITORY" \
--title "chore: merge ${{ github.event.pull_request.head.ref }} back into develop" \
--body "Automated post-release merge. Brings release fixes and merge commits from \`${{ github.event.pull_request.head.ref }}\` back into \`develop\` to keep branches in sync per gitflow." \
--base develop \
--head "${{ github.event.pull_request.head.ref }}")
gh pr merge "$PR_URL" --merge --auto
Loading