Simplify README, move content to documentation #82
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 | |
on: | |
pull_request: | |
types: [labeled, unlabeled, opened, reopened, synchronize] | |
jobs: | |
check-changelog-entry: | |
name: changelog entry | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# `towncrier check` runs `git diff --name-only origin/main...`, which | |
# needs a non-shallow clone. | |
fetch-depth: 0 | |
- name: Check changelog | |
if: "!contains(github.event.pull_request.labels.*.name, 'Skip Changelog')" | |
run: | | |
if ! pipx run towncrier check --compare-with origin/${{ github.base_ref }}; then | |
echo "Please see https://landlab.readthedocs.io/en/master/development/contribution/index.html?highlight=towncrier#news-entries for guidance." | |
false | |
fi |