Skip to content

[infra] Prevent "Add reviewers" workflow from triggering since it doesn't work #223

[infra] Prevent "Add reviewers" workflow from triggering since it doesn't work

[infra] Prevent "Add reviewers" workflow from triggering since it doesn't work #223

name: Add reviewers to release PRs
on:
# pull_request_target:
# branches: ['master', 'next']
# types: ['labeled']
workflow_dispatch:
permissions: {}
jobs:

Check failure on line 11 in .github/workflows/add-release-reviewers.yml

View workflow run for this annotation

GitHub Actions / Add reviewers to release PRs

Invalid workflow file

The workflow is not valid. .github/workflows/add-release-reviewers.yml (Line: 11, Col: 3): Error calling workflow 'mui/mui-public/.github/workflows/reusable-add-reviewers-to-pr.yml@reviewer-action'. The workflow is requesting 'actions: read, attestations: read, checks: read, deployments: read, discussions: read, issues: read, packages: read, pages: read, repository-projects: read, statuses: read, security-events: read, id-token: read', but is only allowed 'actions: none, attestations: none, checks: none, deployments: none[...]
add-reviewers-to-release-pr:
uses: mui/mui-public/.github/workflows/reusable-add-reviewers-to-pr.yml@reviewer-action
with:
team-slug: x
label-name: release
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
pull-requests: write