Skip to content

Commit

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

- name: Revoke Vault token
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 99492bd

Please sign in to comment.