Skip to content

Commit 2c93278

Browse files
authored
Merge pull request #48 from Expensify/update-1password-cli-action
Update 1Password CLI action to fixed version
2 parents 1dd79e3 + 02d89e3 commit 2c93278

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

setup-certificate-1p/action.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Set up mirror certificates
2+
description: Set up mirror certificates
3+
4+
inputs:
5+
OP_SERVICE_ACCOUNT_TOKEN:
6+
description: 1Password service account token
7+
required: true
8+
9+
runs:
10+
using: composite
11+
steps:
12+
- name: Install 1Password CLI
13+
uses: 1password/install-cli-action@9a0c9dd934086b7ab1d90115d455bda1c53c2bdb
14+
env:
15+
OP_SERVICE_ACCOUNT_TOKEN: ${{ inputs.OP_SERVICE_ACCOUNT_TOKEN }}
16+
17+
- name: Update SSL Certificates from 1Password
18+
run: |
19+
op document get --output expensify.ca.crt expensify.ca.crt && sudo cp expensify.ca.crt /usr/local/share/ca-certificates/expensify.ca.crt
20+
sudo update-ca-certificates
21+
shell: bash
22+
env:
23+
OP_SERVICE_ACCOUNT_TOKEN: ${{ inputs.OP_SERVICE_ACCOUNT_TOKEN }}
24+

setupGitForOSBotify/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
using: composite
3737
steps:
3838
- name: Install 1Password CLI
39-
uses: 1password/install-cli-action@143a85f84a90555d121cde2ff5872e393a47ab9f
39+
uses: 1password/install-cli-action@9a0c9dd934086b7ab1d90115d455bda1c53c2bdb
4040

4141
- name: Download OSBotify GPG key
4242
run: op read "op://${{ inputs.OP_VAULT }}/OSBotify-private-key.asc/OSBotify-private-key.asc" --force --out-file ./OSBotify-private-key.asc

0 commit comments

Comments
 (0)