actions / starter-workflows

Accelerating new GitHub Actions workflows
https://github.com/features/actions
Other
8.59k stars 5.07k forks source link

CodeQL: Add `actions: write` permission to support TRAP cache cleanup #2412

Open henrymercer opened 4 weeks ago

henrymercer commented 4 weeks ago

This PR adds the actions: write permission to the CodeQL workflow so that the CodeQL workflow can automatically cleanup unused CodeQL TRAP caches.

While we're here, we also add a step name for the manual build commands step, so it's more clear what is going on when this step is skipped.