Skip to content

security: add permissions to GitHub Actions workflows #1485

security: add permissions to GitHub Actions workflows

security: add permissions to GitHub Actions workflows #1485

Workflow file for this run

name: Security Scan
on:
push:
branches:
- master
- main
- renovate/**
pull_request:
schedule:
- cron: "0 3 * * *"
permissions:
contents: read
jobs:
security:

Check failure on line 18 in .github/workflows/security.yaml

View workflow run for this annotation

GitHub Actions / Security Scan

Invalid workflow file

The workflow is not valid. .github/workflows/security.yaml (Line: 18, Col: 3): Error calling workflow 'newrelic/coreint-automation/.github/workflows/reusable_security.yaml@v3'. The workflow is requesting 'security-events: write', but is only allowed 'security-events: none'.
uses: newrelic/coreint-automation/.github/workflows/reusable_security.yaml@v3
with:
skip-dirs: "build"