From 7bf3da51c57f7ac63d4b525e5cfcce4a40f4c32e Mon Sep 17 00:00:00 2001 From: Jean-Hadrien Chabran Date: Tue, 14 May 2024 12:18:12 +0200 Subject: [PATCH] chore(gha): comment on PR about reviews --- .github/workflows/notion-migration.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/notion-migration.yaml diff --git a/.github/workflows/notion-migration.yaml b/.github/workflows/notion-migration.yaml new file mode 100644 index 000000000000..761ea722f81a --- /dev/null +++ b/.github/workflows/notion-migration.yaml @@ -0,0 +1,20 @@ +name: Notion Migration + +on: + # pull_request: + # types: [opened] + push: + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v6 + with: + script: | + github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: ":warning: As we're migrating to Notion, we want to make sure that changes to the handbook are only absolutely necessary. To ensure it'is the case, it's now mandatory to get an approving review to merge a pull request." + })