Skip to content

Fixed metrics names #515

Fixed metrics names

Fixed metrics names #515

Workflow file for this run

name: Check changelog
on:
pull_request:
paths-ignore:
- '.github/**'
jobs:
changelog:
name: Check changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
- uses: jitterbit/get-changed-files@v1
id: files
continue-on-error: true
- name: Printing modified files
run: |
echo "Added+Modified:"
echo "${{ steps.files.outputs.added_modified }}"
- name: Check if changelog is updated.
run: |
for changed_file in ${{ steps.files.outputs.added_modified }}; do
if [ ${changed_file} == "CHANGELOG.md" ]
then
exit 0
fi
done
echo "::error:: Changelog not present in modified files"
exit 1