skip progressbar if needed #4017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changelog entry | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
if: contains( github.event.pull_request.labels.*.name, 'no changelog') != true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: check changelog entry | |
run: | | |
git diff --name-only -r HEAD^1 HEAD | grep .github/CHANGELOG.md |