Skip to content

Commit e5c33bd

Browse files
authored
Merge pull request #3 from easytocloud/beautiful-brattain
fix: correct 1Password action usage for v2 API
2 parents 3ec7ba9 + 6494708 commit e5c33bd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,15 @@ jobs:
2323
# Dependabot will automatically update this when new versions are released
2424
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2525

26-
- name: Configure 1Password Service Account
27-
uses: 1password/load-secrets-action/configure@e6b4e4d0f66132bd83f6e0d75c075359932e0479 # v2.0.1
28-
with:
29-
# SECURITY: Service account token will be available to all subsequent steps
30-
# Consider using ephemeral tokens and unset-previous: true for production
31-
service-account-token: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
32-
33-
- name: Load GitHub credentials
26+
- name: Load GitHub credentials from 1Password
3427
id: load-github-credentials
3528
uses: 1password/load-secrets-action@e6b4e4d0f66132bd83f6e0d75c075359932e0479 # v2.0.1
3629
with:
3730
export-env: false
3831
env:
32+
# SECURITY: Service account token will be available to this step
33+
# Consider using ephemeral tokens for production
34+
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
3935
HOMEBREW_TAP_GITHUB_TOKEN: op://CICD/github-easytocloud-brew/credential
4036

4137
- name: Semantic Release

0 commit comments

Comments
 (0)