Add deprecation announcement #245
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 | |
on: | |
pull_request: | |
jobs: | |
changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/[email protected] | |
- name: List all added files | |
run: | | |
for file in ${{ steps.changed-files.outputs.added_files }}; do | |
echo "$file was added" | |
done | |
- name: Fail if changelog fragment is absent | |
if: contains(steps.changed-files.outputs.added_files, 'fragments') == false | |
run: | | |
echo "Changelog fragment for this branch is not present" | |
exit 1 |