We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ab6c4 commit 211160dCopy full SHA for 211160d
.github/workflows/assign_next_release_milestone.yml
@@ -16,13 +16,23 @@ jobs:
16
runs-on: ubuntu-latest
17
18
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
29
- name: Checkout repository
30
uses: actions/checkout@v4
31
32
- name: Assign milestone to merged issues
33
uses: actions/github-script@v7
34
with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
35
+ github-token: ${{ env.GH_TOKEN }}
36
script: |
37
const { owner, repo } = context.repo;
38
0 commit comments