Skip to content

fix(ci): grant contents: read so the grade workflow loads #12

fix(ci): grant contents: read so the grade workflow loads

fix(ci): grant contents: read so the grade workflow loads #12

name: Grade Assignment
on:
pull_request_target:
branches:
- main
jobs:
grade:

Check failure on line 9 in .github/workflows/grade-assignment.yml

View workflow run for this annotation

GitHub Actions / Grade Assignment

Invalid workflow file

The workflow is not valid. .github/workflows/grade-assignment.yml (Line: 9, Col: 3): Error calling workflow 'HackYourFuture/github-actions/.github/workflows/auto-grade.yml@main'. The nested job 'test' is requesting 'contents: read', but is only allowed 'contents: none'.
permissions:
contents: read
issues: write
pull-requests: write
uses: HackYourFuture/github-actions/.github/workflows/auto-grade.yml@main