Update contracts.yml github action #2
Workflow file for this run
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 Reminder | |
on: | |
pull_request: | |
types: [assigned, opened, synchronize, reopened, labeled, unlabeled] | |
branches: | |
- main | |
jobs: | |
build: | |
name: Check Actions | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/[email protected] | |
with: | |
files_ignore: | | |
**/*.md | |
**/*_test.go | |
tests/** | |
**/*.py | |
.github/workflows/*.yml | |
- name: Changelog check | |
# Skip this step and return success result for markdown only changes | |
if: | | |
steps.changed-files.outputs.any_changed == 'true' || | |
steps.changed-files.outputs.any_deleted == 'true' || | |
steps.changed-files.outputs.any_modified == 'true' | |
uses: Zomzog/[email protected] | |
with: | |
fileName: CHANGELOG.md | |
noChangelogLabel: A:no-changelog | |
checkNotification: Simple | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |