Skip to content

Commit 44181ed

Browse files
author
Mark Ruvald Pedersen
committed
Redact src-repo URL in artifact-commit: No sensitive token/pass, if any
1 parent b204af8 commit 44181ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git_recycle_bin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def emit_commit_msg(d: dict):
206206
src-git-commit-time-commit: {d['src_time_commit']}
207207
src-git-branch: {d['src_branch'] if d['src_branch'] != "HEAD" else "Detached HEAD"}
208208
src-git-repo-name: {d['src_repo']}
209-
src-git-repo-url: {d['src_repo_url']}
209+
src-git-repo-url: {url_redact(d['src_repo_url'])}
210210
src-git-commits-ahead: {d['src_commits_ahead'] if d['src_commits_ahead'] != "" else "?"}
211211
src-git-commits-behind: {d['src_commits_behind'] if d['src_commits_behind'] != "" else "?"}
212212
{prefix_lines(prefix="src-git-status: ", lines=trim_all_lines(d['src_status'] if d['src_status'] != "" else "clean"))}

0 commit comments

Comments
 (0)