Skip to content

Workflow permissions review #645

Workflow permissions review

Workflow permissions review #645

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14
- 16
- 18
- 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run lint
- run: npm run test
automerge:
needs: build
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
metadata: read

Check failure on line 31 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: 31, Col: 7): Unexpected value 'metadata'
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
with:
config: ${{ secrets.GITHUB_TOKEN }}
debug: true
- uses: fastify/github-action-merge-dependabot@v3