Skip to content

Update workflows to check Changelog and build gem #5

Update workflows to check Changelog and build gem

Update workflows to check Changelog and build gem #5

Workflow file for this run

name: Changelog
on:
pull_request:
branches:
- '**'
jobs:
changelog-updated:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Check if changelog updated
id: changed-files-specific
uses: tj-actions/changed-files@v44
with:
base_sha: ${{ github.event.pull_request.base.sha }}
files: |
CHANGELOG.md
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Fail job if changelog not updated
if: steps.changed-files-specific.outputs.any_changed == 'false'
run: |
exit 1