Skip to content

Commit 56ac69e

Browse files
authored
merge(#12): chore: update PR description
chore: update PR description
2 parents a57df09 + 5505305 commit 56ac69e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/on_merge.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
token: ${{ secrets.GITHUB_TOKEN }}
4040
commit-message: "chore: update AUTHORS.md"
4141
title: "chore: update AUTHORS.md"
42-
body: "This PR updates the AUTHORS.md file. Related to PR #${{ github.event.pull_request.number }}"
4342
branch: feat/update-authors-md
4443
base: main
44+
45+
- name: Update PR description
46+
if: env.CHANGED == 'true'
47+
run: |
48+
pr_number=$(gh pr view --json number --jq '.number')
49+
gh pr edit $pr_number --body "This PR is related to #$pr_number"

0 commit comments

Comments
 (0)