mirror of
https://github.com/allenai/olmocr.git
synced 2025-06-27 04:00:02 +00:00
30 lines
714 B
YAML
30 lines
714 B
YAML
name: PR Checks
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'olmocr/**'
|
|
|
|
jobs:
|
|
changelog:
|
|
name: CHANGELOG
|
|
runs-on: ubuntu-latest
|
|
if: github.event_name == 'pull_request'
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Check that CHANGELOG has been updated
|
|
run: |
|
|
# If this step fails, this means you haven't updated the CHANGELOG.md
|
|
# file with notes on your contribution.
|
|
git diff --name-only $(git merge-base origin/main HEAD) | grep '^CHANGELOG.md$' && echo "Thanks for helping keep our CHANGELOG up-to-date!"
|