File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
.github/actions/auto-commit
__snapshots__/input/showcase/webkit/DBInput-should-match-screenshot-1 Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 6565 NEW_PR_BRANCH : ${{ inputs.branch-name }}
6666 BASE_BRANCH : ${{ github.head_ref }}
6767 run : |
68- gh pr create --base "$BASE_BRANCH" --head "$NEW_PR_BRANCH" --title "Automated PR: $COMMIT_MESSAGE" --body "This PR was created automatically by a GitHub Action."
68+ PR_BODY="This PR was created automatically by a GitHub Action.
69+
70+ Target PR (this PR will be merged into): <https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}>"
71+
72+ # Create the PR and capture its URL
73+ gh pr create --base "$BASE_BRANCH" --head "$NEW_PR_BRANCH" --title "Automated PR: $COMMIT_MESSAGE" --body "$PR_BODY"
6974
7075 # https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow
7176 - name : 🧬 Generate a token
You can’t perform that action at this time.
0 commit comments