Add job checking that the changelog entry has been updated in every PR #21
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: Lint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: lint-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check formatting with Prettier | |
uses: actionsx/prettier@3d9f7c3fa44c9cb819e68292a328d7f4384be206 | |
with: | |
# prettier CLI arguments. | |
args: --write . | |
- name: Show diff | |
run: git --no-pager diff --exit-code --color=never | |
shell: bash |