Skip to content

Make contents and packages permissions explicit - #158

Merged
tarrow merged 1 commit into
mainfrom
tarrow-patch-1
Nov 20, 2026
Merged

tarrow merged 1 commit into
mainfrom
tarrow-patch-1

Conversation

@tarrow

@tarrow tarrow commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Try to see if making these permissions explicit grants Dependabot sufficient permissions to push to GHCR.

This needs to be merged and then a dependabot PR adjusted and the checks run.

Try to see if making these permissions explicit grants Dependabot sufficient permissions to push to GHCR.

This needs to be merged and then a dependabot PR adjusted and the checks run.
@tarrow
tarrow merged commit 67a3fa3 into main Nov 20, 2026
3 checks passed
@tarrow
tarrow deleted the tarrow-patch-1 branch November 20, 2026 10:01
@tarrow
tarrow restored the tarrow-patch-1 branch November 20, 2026 10:09
tarrow added a commit that referenced this pull request Nov 20, 2026
This does grant additional permissions to dependabot.

While this solves the issue of dependabot being unable to push we were
then unhappy about the possible security implications of this.

Reverts #158
tarrow added a commit that referenced this pull request Nov 20, 2026
This prevents Dependabot PRs trying to push images to GHCR.

They are deliberately run without permissions to do this and so if they
try to push, the job will fail.

Follow on from #159 #158 #156 

Bug: T445630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants