Skip to content

Commit

Permalink
WIP: the double revoke
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaso committed Mar 31, 2024
1 parent 245832f commit 23a12fe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,14 @@ runs:
PYTHONPATH: ${{ github.action_path }}
VAULT_SERVER: ${{ inputs.vault_server }}
VAULT_TOKEN: ${{ steps.vault_auth.outputs.vault_token }}

- name: Revoke Vault token again
if: success() || steps.generator.conclusion == 'failure'
shell: python
run: |
from vault_oidc_ssh_cert_action import revoke_token
revoke_token()
env:
PYTHONPATH: ${{ github.action_path }}
VAULT_SERVER: ${{ inputs.vault_server }}
VAULT_TOKEN: ${{ steps.vault_auth.outputs.vault_token }}

0 comments on commit 23a12fe

Please sign in to comment.