What it means
Each run gets a GITHUB_TOKEN with permissions set by the repository default and the workflow's permissions block. Writing to pull requests, packages or contents fails with 403 when that scope isn't granted, and pull requests from forks always get a read-only token.
Causes and fixes
Most likely first. Run the check, and if it matches, apply the fix.
1. The permissions block doesn't grant the scope (or the repo default is read-only)
Check:
grep -n -A6 'permissions:' .github/workflows/*.yml
Fix: Grant only what the job needs, at job level (pull-requests write, packages write).
2. The run comes from a fork
Check:
Look at the event and the head repository in the run
Fix: Keep fork runs read-only; don't switch to pull_request_target with checkout of fork code to get around it.
Fix it yourself
A live machine in your browser with this problem already on it. The grader checks the result.
Open the labNo account needed for your first tries.