mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 16:52:55 +01:00
17 lines
500 B
YAML
17 lines
500 B
YAML
name: Check if the CHANGELOG.md has been updated
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
check:
|
|
name: Test on ${{ matrix.os }}
|
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ignore-changelog') }}
|
|
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
|