Skip to content

security: add permissions block to workflows #115

security: add permissions block to workflows

security: add permissions block to workflows #115

Workflow file for this run

name: changelog
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
branches:
- main
permissions:
contents: read
jobs:
check:
if: "!contains(github.event.pull_request.labels.*.name, 'skip-changelog')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: changelog
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
BASE_REF: ${{ github.event.pull_request.base.ref }}
run: .ci/scripts/check-changelog.sh