forked from TrueCloudLab/frostfs-node
3ee4260647
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
29 lines
643 B
YAML
29 lines
643 B
YAML
name: CHANGELOG check
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- support/**
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Check for updates
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Get changed CHANGELOG
|
|
id: changelog-diff
|
|
uses: tj-actions/changed-files@v29
|
|
with:
|
|
files: CHANGELOG.md
|
|
|
|
- name: Fail if changelog not updated
|
|
if: steps.changelog-diff.outputs.any_changed == 'false'
|
|
uses: actions/github-script@v3
|
|
with:
|
|
script: |
|
|
core.setFailed('CHANGELOG.md has not been updated')
|