Skip to content

ci: set permissions at workflow level (#255) #420

ci: set permissions at workflow level (#255)

ci: set permissions at workflow level (#255) #420

Workflow file for this run

name: CI
on:
push:
branches:
- main
- next
- 'v*'
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
permissions:
contents: read
jobs:
test:

Check failure on line 21 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 21, Col: 3): Error calling workflow 'fastify/workflows/.github/workflows/plugins-ci.yml@v5'. The nested job 'automerge' is requesting 'contents: write, pull-requests: write', but is only allowed 'contents: read, pull-requests: none'.
uses: fastify/workflows/.github/workflows/plugins-ci.yml@v5
with:
license-check: true
lint: true