Skip to content

ci: Harden workflows#58

Merged
RandomByte merged 2 commits into
mainfrom
ci/hardening
May 27, 2026
Merged

ci: Harden workflows#58
RandomByte merged 2 commits into
mainfrom
ci/hardening

Conversation

@RandomByte
Copy link
Copy Markdown
Member

@RandomByte RandomByte commented May 26, 2026

  • Replace spoofable github.actor check in dependabot-auto-merge with github.event.pull_request.user.login. Note: spoofing the dependabot actor alone is not sufficient to trigger the auto-merge step. The dependabot/fetch-metadata action only emits outputs for genuine dependabot PRs, so the merge step's check on steps.metadata.outputs.update-type would no-op on a spoofed run. The change closes the gap defensively.

@RandomByte RandomByte requested a review from matz3 May 26, 2026 09:49
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/reuse-compliance.yml Outdated
@RandomByte RandomByte requested a review from matz3 May 27, 2026 11:56
- Replace spoofable github.actor check in dependabot-auto-merge with
  github.event.pull_request.user.login. Note: spoofing the dependabot
  actor alone is not sufficient to trigger the auto-merge step. The
  dependabot/fetch-metadata action only emits outputs for genuine
  dependabot PRs, so the merge step's check on
  steps.metadata.outputs.update-type would no-op on a spoofed run. The
  change closes the gap defensively.
@RandomByte RandomByte merged commit 7acd832 into main May 27, 2026
7 checks passed
@RandomByte RandomByte deleted the ci/hardening branch May 27, 2026 12:28
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