Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use inputs.OP_VAULT for 1Password vault #31

Merged
merged 2 commits into from
Feb 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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