mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 03:55:07 +08:00
Add a Github Action to ensure the CHANGELOG is updated in PRs
This commit is contained in:
parent
c3467313e5
commit
227bc716d8
15
.github/workflows/check-updated-changelog.yml
vendored
Normal file
15
.github/workflows/check-updated-changelog.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: Check if the CHANGELOG.md has been updated
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: Test on ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checking the CHANGELOG.md has been updated in this PR
|
||||
run: |
|
||||
set -e
|
||||
git fetch origin ${{ github.base_ref }}
|
||||
git diff --name-only origin/${{ github.base_ref }} | grep -q CHANGELOG.md
|
Loading…
Reference in New Issue
Block a user