Skip to content

chore: Specifies permission in workflow file #58

chore: Specifies permission in workflow file

chore: Specifies permission in workflow file #58

Workflow file for this run

name: Main
on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: '0 8 * * 2'
jobs:
build:
uses: ./.github/workflows/build-rock.yaml
scan:

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

View workflow run for this annotation

GitHub Actions / Main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 18, Col: 3): Error calling workflow 'canonical/vault-rock/.github/workflows/scan-rock.yaml@118fe33ca4692346846ae228f43d2b477900c92b'. The nested job 'scan' is requesting 'security-events: write', but is only allowed 'security-events: none'.
needs: build
uses: ./.github/workflows/scan-rock.yaml
integration-tests:
needs: build
uses: ./.github/workflows/integration-tests.yaml
publish:
if: github.ref_name == 'main'
needs: [scan, build, integration-tests]
uses: ./.github/workflows/publish-rock.yaml