Skip to content

Pass the package config directly to the load strategy instead of depending on an app entrypoint #346

Pass the package config directly to the load strategy instead of depending on an app entrypoint

Pass the package config directly to the load strategy instead of depending on an app entrypoint #346

# A CI workflow to remind the contributor to update the changelog.
name: Changelog Reminder
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]
paths:
- '**/*.dart'
jobs:
changelog-reminder:
if: ${{ !contains(github.event.*.labels.*.name, 'changelog-not-required') }}
name: Maybe prevent submission
runs-on: ubuntu-latest
steps:
- name: Checkout repositiory
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Check changed files
run: |
git fetch origin master
PR_DIFF=$(git diff origin/master --name-only)
echo "$PR_DIFF"
if [[ $PR_DIFF == *"CHANGELOG.md"* ]]; then
echo "CHANGELOG.md has been updated."
exit 0;
fi
echo "Did not detect an update to the CHANGELOG.md in this PR."
echo "Please update the CHANGELOG.md, or add the 'changelog-not-required' label."
exit 1