Skip to content

gh-actions: don't push dependabot built images - #199

Merged
dati18 merged 2 commits into
mainfrom
gh-dependabot-not-push
Nov 24, 2026
Merged

dati18 merged 2 commits into
mainfrom
gh-dependabot-not-push

Conversation

@dati18

@dati18 dati18 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Prevent Dependabot PRs from attempting to push images to the GHCR.

Pushing an image to GHCR requires packages: write permissions. For security reasons, GitHub runs Workflows without any write permissions for Dependabot created PRs1. This caused the docker.build workflow to fail for Dependabot created PRs.

Bug: T445872

@dati18
dati18 force-pushed the gh-dependabot-not-push branch from ccdd925 to e746810 Compare November 23, 2026 14:26
Comment thread .github/workflows/docker.build.yml Resolved
Co-authored-by: Ollie <43674967+outdooracorn@users.noreply.github.com>

@outdooracorn outdooracorn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@dati18
dati18 merged commit ce22088 into main Nov 24, 2026
3 checks passed
@dati18
dati18 deleted the gh-dependabot-not-push branch November 24, 2026 11:34
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