Skip to content

Workflow permissions review #646

Workflow permissions review

Workflow permissions review #646

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
steps:
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
with:
config: ${{ secrets.GITHUB_TOKEN }}
debug: true
- uses: fastify/github-action-merge-dependabot@v3