We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2f3c7e commit 14d6315Copy full SHA for 14d6315
1 file changed
.github/workflows/dependabot-automerge.yaml
@@ -14,7 +14,9 @@ jobs:
14
runs-on: ubuntu-latest
15
steps:
16
- name: Merge Dependabot PR
17
- run: gh pr merge --squash --delete-branch "$PR_URL"
+ run: |
18
+ BODY=$(gh pr view --json commits --jq .commits[0].messageBody "$PR_URL" | grep Signed-off-by)
19
+ gh pr merge --squash --delete-branch --body "$BODY" "$PR_URL"
20
env:
21
PR_URL: ${{ github.event.pull_request.html_url }}
22
GITHUB_TOKEN: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
0 commit comments