Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
fix: fixing data reading
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Gomes da Cruz Junior committed Feb 22, 2023
1 parent e15a2ec commit d104895
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pr-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

retags:
name: Test action
permissions:
packages: write
runs-on: ubuntu-22.04
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ runs:
# Unwrap the token to get the secret id
SECRET_ID=$(curl -o secret.txt -w "%{http_code}" -s -X POST ${{ inputs.vault_addr }}/v1/sys/wrapping/unwrap \
-H "X-Vault-Token: ${WRAPPED_TOKEN}"|jq '.data.secret_id')
-H "X-Vault-Token: ${WRAPPED_TOKEN}")
if [[ $SECRET_ID -eq 200 ]]; then
SECRET_ID=$(read_and_delete secret.txt)
Expand Down

0 comments on commit d104895

Please sign in to comment.