Menu

1 / 2

Your workflow PR just widened its own permissions. Would anyone notice?

DEV Community: github·Aditya Jain·11 days ago
#3fhbqZXH
#devtogithub#technology#devto#dev#remit
Reading 0:00
15s threshold

Most GitHub Actions changes look routine. You bump an action version, add a test, or rename a job.

But a routine-looking PR can also include this:

permissions:

contents: read

contents: write

id-token: write

That job just gained write permissions and the ability to request an OIDC token.

It might be intentional. It might be necessary. But it deserves more attention than a version bump—and in a 300-line workflow, it’s easy to miss.

I built Remit to put those changes in front of the reviewer.

What Remit does

Remit is a GitHub Action and CLI that compares the workflows before and after a pull request.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.