Skip to content

ci/hardening#846

Open
RandomByte wants to merge 4 commits into
v4from
ci/hardening
Open

ci/hardening#846
RandomByte wants to merge 4 commits into
v4from
ci/hardening

Conversation

@RandomByte
Copy link
Copy Markdown
Member

  • [INTERNAL] Pin actions to commit hash
  • [INTERNAL] Enable two-day cooldown for dependabot
  • [INTERNAL] Disallow npm dependencies from git
  • [INTERNAL] Harden workflows

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 18:41
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.

1 participant