mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #5271] [CLOSED] fix: pin 8 unpinned action(s), extract 1 inline secret to env var #5222
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#5222
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/5271
Author: @dagecko
Created: 3/30/2026
Status: ❌ Closed
Base:
dev← Head:runner-guard/fix-ci-security📝 Commits (1)
5a608bbfix: pin 8 unpinned action(s), extract 1 inline secret to env var📊 Changes
3 files changed (+12 additions, -10 deletions)
View changed files
📝
.github/workflows/build-and-push-image.yml(+10 -8)📝
.github/workflows/golangci-lint.yml(+1 -1)📝
.github/workflows/goreleaser.yml(+1 -1)📄 Description
Re-submission of #5264. Had a problem with my fork and had to delete it, which closed the original PR. Apologies for the noise.
Summary
This PR pins all GitHub Actions to immutable commit SHAs and extracts an inline secret from a
run:block into anenv:mapping.How to verify
Review the diff, each change is mechanical and preserves workflow behavior:
action@v3becomesaction@abc123 # v3, original version preserved as comment${{ secrets.* }}inrun:moves toenv:block, referenced as"${ENV_VAR}"in the scriptI've been researching CI/CD supply chain attack vectors and submitting fixes to affected repos. Based on that research I built a scanner called Runner Guard and open sourced it here so you can scan yourself if you want to. I'll be posting more advisories over the next few weeks on Twitter if you want to stay in the loop.
If you have any questions, reach out. I'll be monitoring comms.
- Chris (dagecko)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.