Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/mergetron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Mergetron

on:
pull_request_review:
types: [submitted]

jobs:
mergetron:
uses: framer/mergetron/.github/workflows/install.yml@master
secrets:
mergetron_app_private_key: ${{ secrets.MERGETRON_APP_PRIVATE_KEY }}
Copy link

Choose a reason for hiding this comment

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

Mutable branch ref exposes private key to supply-chain risk

Medium Severity

The reusable workflow is pinned to @master, a mutable branch reference, while being passed the MERGETRON_APP_PRIVATE_KEY secret. Any new commit pushed to the master branch of framer/mergetron — whether intentional or via a compromised account — would automatically receive the private key. Pinning to a specific commit SHA would prevent this supply-chain risk.

Fix in Cursor Fix in Web

Loading