Skip to content

Commit a9a978e

Browse files
committed
udpate gh action
1 parent 8906254 commit a9a978e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212
- name: Clone repository
1313
uses: actions/checkout@v4
1414

15-
# - name: Load secret
16-
# uses: 1password/load-secrets-action@v2
17-
# with:
18-
# export-env: true
19-
# env:
20-
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
21-
# MY_GITHUB_PAT: op://Developer/GitHub/TMP_PAT
15+
- name: Load secret
16+
uses: 1password/load-secrets-action@v2
17+
with:
18+
export-env: true
19+
env:
20+
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
21+
MY_GITHUB_PAT: op://Developer/GitHub/PAT
2222

2323
- name: Update Homebrew formula
2424
uses: dawidd6/action-homebrew-bump-formula@v3
2525
with:
26-
token: ${{ secrets.MY_GITHUB_PAT }}
26+
token: ${{ env.MY_GITHUB_PAT }}
2727
tap: bartekpacia/homebrew-tools
2828
formula: scripts
2929
force: true

0 commit comments

Comments
 (0)