miden-crypto/.github/workflows/changelog.yml
.github/workflows/changelog.ymlRaw
1# Runs changelog related jobs.
2# CI job heavily inspired by: https://github.com/tarides/changelog-check-action
3
4name: changelog
5
6on:
7 pull_request:
8 types: [opened, reopened, synchronize, labeled, unlabeled]
9
10jobs:
11 changelog:
12 runs-on: ubuntu-latest
13 steps:
14 - name: Checkout code
15 uses: actions/checkout@main
16 with:
17 fetch-depth: 0
18 - name: Check for changes in changelog
19 env:
20 BASE_REF: ${{ github.event.pull_request.base.ref }}
21 NO_CHANGELOG_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'no changelog') }}
22 run: ./scripts/check-changelog.sh "${{ inputs.changelog }}"
23 shell: bash