Skip to content

fix: Workflow does not contain permissions (#141) #109

fix: Workflow does not contain permissions (#141)

fix: Workflow does not contain permissions (#141) #109

name: Release Drafter
permissions:
contents: read
on:
push:
branches:
- "main"
workflow_dispatch:
jobs:
draft-release:

Check failure on line 12 in .github/workflows/release-drafter.yml

View workflow run for this annotation

GitHub Actions / Release Drafter

Invalid workflow file

The workflow is not valid. .github/workflows/release-drafter.yml (Line: 12, Col: 3): Error calling workflow 'commit-check/.github/.github/workflows/release-drafter.yml@main'. The nested job 'update_release_draft' is requesting 'contents: write, pull-requests: write', but is only allowed 'contents: read, pull-requests: none'.
uses: commit-check/.github/.github/workflows/release-drafter.yml@main