Skip to content

Commit

Permalink
Use inputs.OP_VAULT for 1Password vault
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Feb 11, 2025
1 parent b3ed428 commit fabd680
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/actions/setupGitForOSBotify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ name: Setup Git for OSBotify
description: Setup Git for OSBotify

inputs:
OP_VAULT:
description: 1Password vault where OSBotify GPG key can be found
required: true
OP_SERVICE_ACCOUNT_TOKEN:
description: 1Password service account token
required: true
Expand Down Expand Up @@ -36,7 +39,7 @@ runs:
uses: 1password/install-cli-action@v1

- name: Download OSBotify GPG key
run: op read "op://Mobile-Deploy-CI/OSBotify-private-key.asc/OSBotify-private-key.asc" --force --out-file ./OSBotify-private-key.asc
run: op read "op://${{ inputs.OP_VAULT }}/OSBotify-private-key.asc/OSBotify-private-key.asc" --force --out-file ./OSBotify-private-key.asc
shell: bash
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ inputs.OP_SERVICE_ACCOUNT_TOKEN }}
Expand Down

0 comments on commit fabd680

Please sign in to comment.