mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #231] [MERGED] Mask secrets in job output #1389
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1389
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/nektos/act/pull/231
Author: @mheap
Created: 5/11/2020
Status: ✅ Merged
Merged: 5/13/2020
Merged by: @cplee
Base:
master← Head:add-secret-masking📝 Commits (3)
4722598Mask secrets in job output0c11089Merge branch 'master' into add-secret-maskingd2048e6Merge branch 'master' into add-secret-masking📊 Changes
2 files changed (+10 additions, -3 deletions)
View changed files
📝
pkg/runner/logger.go(+9 -2)📝
pkg/runner/runner.go(+1 -1)📄 Description
Previously secrets would be shown in log output as provided. This
commit updates the stepLogFormatter to replace any instance of the secret
string with "***", as GitHub Actions would
Known issues: If the secret is a generic string (such as "docker"), all
occurances of that string will be replaced in the output
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.