From 1e0f28d72ecec8e0c74342a927636f90ca364db0 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Fri, 21 Oct 2022 21:22:50 +0800 Subject: [PATCH] New action Pull Request Reminder (#283) --- .github/workflows/pr-reminder.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr-reminder.yml diff --git a/.github/workflows/pr-reminder.yml b/.github/workflows/pr-reminder.yml new file mode 100644 index 0000000..ae4436f --- /dev/null +++ b/.github/workflows/pr-reminder.yml @@ -0,0 +1,19 @@ +name: Pull Request Reminder + +on: + pull_request_target: + types: + - labeled + +jobs: + reminder: + if: ${{ github.event.label.name == 'Configurations' }} + runs-on: ubuntu-latest + + steps: + - name: Comment PR + uses: marocchino/sticky-pull-request-comment@v2 + with: + message: | + This pull request contains changes to the configuration file. Please make sure the documentation in [NexT website](https://theme-next.js.org/docs/) is changed or added. + Please edit relevant source files here: https://github.com/next-theme/theme-next-docs/tree/master/source/docs and create a pull request with the changes here: https://github.com/next-theme/theme-next-docs/pulls