Skip to content

Commit

Permalink
Mask token in gh workflows - 4th try
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
  • Loading branch information
l0rd committed Mar 14, 2024
1 parent f301c12 commit 48e4a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/golang-vscode-startup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Mask Sandbox Token
id: mask-sandbox-token
run: |
token=${{ inputs.sandboxToken }}
token=$(jq -r '.inputs.sandboxToken' $GITHUB_EVENT_PATH)
echo "::add-mask::$token"
echo "cluster-token=$token" >> "$GITHUB_OUTPUT"
- name: Checkout
Expand Down

0 comments on commit 48e4a1a

Please sign in to comment.