Skip to content

Commit 211160d

Browse files
feat: added 1Password + Generic token
1 parent 58ab6c4 commit 211160d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/assign_next_release_milestone.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,23 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19+
20+
- name: Load secrets from 1Password
21+
id: onepw_secrets
22+
uses: 1password/[email protected]
23+
with:
24+
export-env: true # Export loaded secrets as environment variables
25+
env:
26+
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
27+
GH_TOKEN: "op://rbiv7rvkkrsdlpcrz3bmv7nmcu/GitHub generic action token for all repos/credential"
28+
1929
- name: Checkout repository
2030
uses: actions/checkout@v4
2131

2232
- name: Assign milestone to merged issues
2333
uses: actions/github-script@v7
2434
with:
25-
github-token: ${{ secrets.GITHUB_TOKEN }}
35+
github-token: ${{ env.GH_TOKEN }}
2636
script: |
2737
const { owner, repo } = context.repo;
2838

0 commit comments

Comments
 (0)