Skip to content

ci(ci): check dependabot prs originate from repo#6330

Merged
Eomm merged 1 commit into
mainfrom
ci/ci-automerge
Sep 24, 2025
Merged

ci(ci): check dependabot prs originate from repo#6330
Eomm merged 1 commit into
mainfrom
ci/ci-automerge

Conversation

@Fdawgs

@Fdawgs Fdawgs commented Sep 23, 2025

Copy link
Copy Markdown
Member

Added an extra conditional to the automerge job to check Dependabot PRs are coming from the same repo and not a fork.
Never seen this happen but Dependabot/GitHub developers aren't infallible and bugs can occur, so is an extra security layer.

Checklist

@github-actions github-actions Bot added the github actions Github actions related label Sep 23, 2025
Comment thread .github/workflows/ci.yml Outdated
@Uzlopak

Uzlopak commented Sep 23, 2025

Copy link
Copy Markdown
Contributor

I think this is already covered in the code of the action. I think i had also claimed a cve for this.

@Fdawgs

Fdawgs commented Sep 23, 2025

Copy link
Copy Markdown
Member Author

I think this is already covered in the code of the action. I think i had also claimed a cve for this.

Not that I can see? Your CVE was around imitating Dependabot by changing the associated username and email for a malicious commit.

@Uzlopak Uzlopak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Uzlopak

Uzlopak commented Sep 23, 2025

Copy link
Copy Markdown
Contributor

Allrighty ;)

@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

github actions Github actions related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants