Files
Ed Morley 4d17846600 Check Changelog improvements (#1128)
The Check Changelog GitHub action now:
* is skipped for dependabot PRs
* uses a more descriptive job name than `check`

Closes @W-8052460@.
Closes @W-8098931@.

[skip changelog]
2020-11-30 13:13:14 +00:00

19 lines
622 B
YAML

name: Check Changelog
on:
pull_request:
types: [opened, reopened, edited, synchronize]
jobs:
check-changelog:
runs-on: ubuntu-latest
if: |
!contains(github.event.pull_request.body, '[skip changelog]') &&
!contains(github.event.pull_request.body, '[changelog skip]') &&
!contains(github.event.pull_request.body, '[skip ci]') &&
!contains(github.event.pull_request.labels.*.name, 'c: dependencies')
steps:
- uses: actions/checkout@v1
- name: Check that CHANGELOG is touched
run: git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md