Misalign batch testcase peers and add scoring #3128
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: Definition of Done | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
permissions: {} | |
jobs: | |
check-changelog: | |
runs-on: ubuntu-latest | |
# Excluding Dependabot PRs from this check. | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
fetch-depth: 0 | |
- name: Check for new file in .unreleased | |
run: | | |
FILE_COUNT=$(git diff --name-only ${{github.event.pull_request.base.sha}}..HEAD -- .unreleased | wc -l) | |
if [ "$FILE_COUNT" -eq "0" ]; then | |
echo "No new file in .unreleased directory. Please add a new file describing your changes." | |
exit 1 | |
fi |