Update scanning tools documentation #1323
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: | |
types: | |
- opened | |
- ready_for_review | |
- synchronize | |
branches: | |
- master | |
- '[0-9]+.[0-9]+' | |
jobs: | |
Update: | |
if: ${{ !github.event.pull_request.draft }} | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Get the updated files | |
id: updated_files | |
uses: Ana06/get-changed-files@v2.1.0 | |
with: | |
format: csv | |
- name: Save the updated files data | |
run: echo ${{ steps.updated_files.outputs.added_modified }} > updated_files.txt | |
- name: Check if changelog file has been updated | |
run: egrep -i CHANGELOG.md updated_files.txt || (echo "Changelog file has not been updated" && exit 1) |