Master banda our #9
Workflow file for this run
This file contains 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
# Removes guide comments from PRs when opened, so that when we merge them | |
# and reuse the pull request description, the clutter is not left behind | |
name: Remove guide comments | |
on: | |
pull_request_target: | |
types: [opened] | |
jobs: | |
remove_guide_comments: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Remove guide comments | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const { removeGuideComments } = await import('${{ github.workspace }}/tools/pull_request_hooks/removeGuideComments.js') | |
await removeGuideComments({ github, context }) |