summaryrefslogtreecommitdiff
path: root/.github/workflows/process.yml
blob: 6e3ac5142e31b6ecb2bad9ada061274ca970466c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.