Fix existing string resources with multiple substitutions #465
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: Check Release Notes | |
# Every PR with a label should include an update to the release notes | |
on: | |
pull_request: | |
branches-ignore: | |
- 'main' | |
types: [ opened, synchronize, reopened, labeled, unlabeled ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
release-notes-check: | |
# https://github.com/actions/virtual-environments/ | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check release notes | |
if: | | |
contains(github.event.pull_request.labels.*.name, 'Breaking change') || | |
contains(github.event.pull_request.labels.*.name, 'Feature') || | |
contains(github.event.pull_request.labels.*.name, 'Fix') | |
run: | | |
git fetch origin develop --depth 1 | |
if [ -n "$(git diff origin/develop RELEASE_NOTES.md)" ] | |
then | |
echo "RELEASE_NOTES.md was updated" | |
exit 0 | |
else | |
echo "::error::Add release notes for your PR by updating RELEASE_NOTES.md" | |
exit 1 | |
fi |