Skip to content

ci: add pull-requests read permission to lint-pr-title workflow #3610

ci: add pull-requests read permission to lint-pr-title workflow

ci: add pull-requests read permission to lint-pr-title workflow #3610

Workflow file for this run

name: Lint PR title
on:
pull_request_target:
types:
- opened
- edited
- synchronize
permissions:
pull-requests: read

Check failure on line 11 in .github/workflows/lint-pr-title.yml

View workflow run for this annotation

GitHub Actions / Lint PR title

Invalid workflow file

The workflow is not valid. .github/workflows/lint-pr-title.yml (Line: 11, Col: 3): Error calling workflow 'launchdarkly/gh-actions/.github/workflows/lint-pr-title.yml@de4859c8d07c097d573fbcc4bd10b77efed0f5cc'. The nested job 'main' is requesting 'pull-requests: read', but is only allowed 'pull-requests: none'.
jobs:
lint-pr-title:
# https://github.com/launchdarkly/gh-actions/commit/de4859c8d07c097d573fbcc4bd10b77efed0f5cc
uses: launchdarkly/gh-actions/.github/workflows/lint-pr-title.yml@de4859c8d07c097d573fbcc4bd10b77efed0f5cc