Skip to content

SNOW-954008 Add changelog check #4

SNOW-954008 Add changelog check

SNOW-954008 Add changelog check #4

Workflow file for this run

name: Changelog Check
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
branches:
- master
jobs:
check_change_log:
runs-on: ubuntu-latest
if: ${!contains(github.event.pull_request.labels.*.name, 'NO-CHANGELOG-UPDATES')}

Check failure on line 12 in .github/workflows/changelog.yml

View workflow run for this annotation

GitHub Actions / Changelog Check

Invalid workflow file

The workflow is not valid. .github/workflows/changelog.yml (Line: 12, Col: 9): Unexpected symbol: '${'. Located at position 1 within expression: ${!contains(github.event.pull_request.labels.*.name, 'NO-CHANGELOG-UPDATES')}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Ensure DESCRIPTION.md is updated
run: git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -wq "DESCRIPTION.md"