[DRAFT] [do not merge] support for "evidence" field in resource rule definition [IAC-3151] #601
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 | |
name: Check changelog entry | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check changelog entry | |
run: | | |
REMOTE=$(git remote | head) | |
git fetch $REMOTE ${{ github.base_ref }} | |
CHANGES="$(git diff $REMOTE/${{ github.base_ref }} -- changes/)" | |
echo $CHANGES | |
if [[ "$CHANGES" == "" ]]; then | |
1>&2 echo "Please use 'changie new' to generate a changelog entry" | |
exit 1 | |
fi |