File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 28
28
runs-on : ubuntu-latest
29
29
outputs :
30
30
python-version : ${{ steps.setup-python.outputs.python-version }}
31
- PERSONAL_ACCESS_TOKEN : ${{ secrets .PERSONAL_ACCESS_TOKEN }}
31
+ PERSONAL_ACCESS_TOKEN : ${{ steps.set-token.outputs .PERSONAL_ACCESS_TOKEN }}
32
32
steps :
33
33
- name : Load secret
34
+ id : load-secret
34
35
if : ${{ inputs.install-deps != 'none' }}
35
36
uses : 1password/load-secrets-action@v2
36
37
with :
39
40
OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
40
41
PERSONAL_ACCESS_TOKEN : op://shawndengdev/github_access_token/credential
41
42
43
+ - name : Set token output
44
+ id : set-token
45
+ if : ${{ inputs.install-deps != 'none' }}
46
+ run : echo "PERSONAL_ACCESS_TOKEN=${PERSONAL_ACCESS_TOKEN}" >> $GITHUB_OUTPUT
47
+
42
48
- name : Check out
43
49
uses : actions/checkout@v4
44
50
with :
You can’t perform that action at this time.
0 commit comments