Add support for exceptional behaviour to printing runnable scenario #119
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: changelog | |
on: | |
pull_request: | |
branches: [ main ] | |
types: [ opened, synchronize, reopened, labeled, unlabeled ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-needed') }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: git diff | |
env: | |
BASE_REF: ${{ github.event.pull_request.base.ref }} | |
run: | | |
! git diff --exit-code origin/$BASE_REF -- CHANGES.md |