Initial commit

This commit is contained in:
Jamie Schouten 2025-02-15 01:14:50 +01:00
commit b68c389605
2 changed files with 24 additions and 0 deletions

1
README.md Normal file
View File

@ -0,0 +1 @@
# Warden

23
action.yml Normal file
View File

@ -0,0 +1,23 @@
name: Auth Warden
description: Authenticate with Bitwarden
author: Jamie Schouten
inputs:
email:
description: 'email'
required: true
password:
description: 'password'
required: true
server:
description: 'Bitwarden server'
required: false
default: ${{ vars.WARDEN_URL }}
runs:
using: "composite"
steps:
- name: Auth Warden
shell: sh
run: |
bw config server ${{ inputs.server }}
export BW_SESSION=$(bw login '${{ inputs.email }}' '${{ inputs.password }}' --raw)