Skip to content

Update test.yml github action update #3

Update test.yml github action update

Update test.yml github action update #3

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 }}