mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
4d17846600
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]
19 lines
622 B
YAML
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
|