feat: add attachment, color, or url scoped authorizations #101
Workflow file for this run
This file contains hidden or 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: Check Changelog | |
on: | |
pull_request: | |
types: [opened, reopened, edited, labeled, unlabeled, synchronize] | |
jobs: | |
check-changelog: | |
runs-on: sfdc-hk-ubuntu-latest # TODO: change to ubuntu-latest when public | |
if: | | |
!contains(github.event.pull_request.body, '[skip changelog]') && | |
!contains(github.event.pull_request.body, '[changelog skip]') && | |
!contains(github.event.pull_request.body, '[skip ci]') && | |
!contains(github.event.pull_request.labels.*.name, 'skip changelog') && | |
!contains(github.event.pull_request.labels.*.name, 'dependencies') | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check that CHANGELOG is touched | |
run: | | |
git fetch origin ${{ github.base_ref }} --depth 1 && \ | |
git diff remotes/origin/${{ github.base_ref }} --name-only | grep CHANGELOG.md |