Skip to content

Hiding api keys/secrets #21

Answered by irealva
withviz asked this question in Q&A
May 21, 2021 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Hi there, we just added a way to do this with this #26. You can now use an optional mask parameter in two ways:

Option 1: use a string boolean

mask: true # removes the source entirely from the commit message, defaults to false

Option 2: use a string array with each secret to mask

mask: '["${{ secrets.SECRET1 }}", "${{ secrets.SECRET2 }}"]'

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@RandomFractals
Comment options

Answer selected by irealva
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants