aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/process.yml
blob: d6d4c94f377bd28bf298acf1b3ee2bc2950661fb (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
25
26
27
28
29
30
31
32
33
34
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