Skip to content

Commit

Permalink
Merge pull request #3 from stepzen-dev/mask-admin-key-2
Browse files Browse the repository at this point in the history
chore: mask admin key always
  • Loading branch information
bobbiejc authored Sep 28, 2023
2 parents 0cd67ec + 7d54d2f commit 2e6aac3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ inputs:
runs:
using: "composite"
steps:
# Don't assume the admin key came from a secret so mask it for safety
- name: mask
run: echo "::add-mask::${ inputs.adminkey }"
shell: bash
- name: "login"
run: |
stepzen login ${{ inputs.domain }} --account ${{ inputs.account }} --adminkey ${{ inputs.adminkey }}
Expand Down

0 comments on commit 2e6aac3

Please sign in to comment.