Nanomaps CI update (#16827)

* Some CI updates

* Update CODEOWNERS file
This commit is contained in:
Selis
2025-01-03 15:12:34 +01:00
committed by GitHub
parent f48022188f
commit c2efe31640
5 changed files with 73 additions and 40 deletions
@@ -0,0 +1,18 @@
# 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@v7
with:
script: |
const { removeGuideComments } = await import('${{ github.workspace }}/tools/pull_request_hooks/removeGuideComments.js')
await removeGuideComments({ github, context })