vm: fix macros.add
crashing with openArray
argument
#54
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Edit dependabot PR body for merge | |
on: | |
pull_request_target: | |
types: | |
- opened | |
permissions: | |
pull-requests: write | |
jobs: | |
edit: | |
if: github.event.pull_request.user.login == 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Edit PR body | |
run: | | |
# Modifies the PR body to prepend a horizontal ruler. | |
# This makes sure /merge trims the entire PR body, preventing | |
# dependabot fancy formatting from littering the commit message | |
gh pr view "$PR_URL" --json body --jq '"---\n\n" + .body' \ | |
| gh pr edit "$PR_URL" --body-file - | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GH_TOKEN: ${{ github.token }} |