aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/process.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/process.yml')
-rw-r--r--.github/workflows/process.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/process.yml b/.github/workflows/process.yml
new file mode 100644
index 0000000..d6d4c94
--- /dev/null
+++ b/.github/workflows/process.yml
@@ -0,0 +1,35 @@
+name: bot
+
+on:
+ pull_request:
+ branches:
+ - '**'
+
+jobs:
+ require_changelog:
+
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: mskelton/changelog-reminder-action@v1
+ with:
+ # Match any file in the docs/change_log/ dir.
+ changelogRegex: "docs/change_log/.*"
+ # Only require changelog update if changes were made in markdown/
+ include: "markdown/.*"
+ message: |
+ @${{ github.actor }}, thank you for your contribution. It appears that you have not added a comment to the
+ change log describing the changes you have made. Doing so will help to ensure your contribution is accepted.
+
+ Please see the [Contributing Guide](https://python-markdown.github.io/contributing/#pull-requests) for details.
+
+ markdown-link-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: gaurav-nelson/github-action-markdown-link-check@v1
+ with:
+ use-quiet-mode: yes
+ use-verbose-mode: yes
+ check-modified-files-only: yes
+ base-branch: master