Skip to content

Compliance

Compliance #6885

Workflow file for this run

# .github/workflows/compliance.yml
name: Compliance
on:
pull_request:
push:
branches:
- "main"
- "[0-9]+.[0-9]+.x" # 1.2.x
- "v[0-9]+" # v1
schedule:
- cron: "0 * * * *" # Runs hourly
workflow_dispatch: # Manually Trigger workflow
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: write # permits an action to cancel a workflow run.
checks: write # permits an action to create a check run.
contents: write # allows the action to create a release.
discussions: write # permits an action to close or delete a discussion.
pull-requests: write # permits an action to add a label to a pull request.
issues: write # permits an action to add a comment to an issue
packages: write # permits an action to upload and publish packages on GitHub Packages.
pages: write # permits an action to request a GitHub Pages build.
jobs:
automation:
uses: ghostwriter/compliance/.github/workflows/automation.yml@v1
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Check failure on line 30 in .github/workflows/compliance.yml

View workflow run for this annotation

GitHub Actions / Compliance

Invalid workflow file

The workflow is not valid. .github/workflows/compliance.yml (Line: 30, Col: 22): Invalid secret, CODECOV_TOKEN is not defined in the referenced workflow. .github/workflows/compliance.yml (Line: 27, Col: 3): Error calling workflow 'ghostwriter/compliance/.github/workflows/automation.yml@v1'. The workflow is requesting 'deployments: write, repository-projects: write, statuses: write, security-events: write', but is only allowed 'deployments: none, repository-projects: none, statuses: none, security-events: none'.
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
INFECTION_DASHBOARD_API_KEY: ${{ secrets.INFECTION_DASHBOARD_API_KEY }}