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 2828 runs-on : ubuntu-latest
2929 outputs :
3030 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 }}
3232 steps :
3333 - name : Load secret
34+ id : load-secret
3435 if : ${{ inputs.install-deps != 'none' }}
3536 uses : 1password/load-secrets-action@v2
3637 with :
3940 OP_SERVICE_ACCOUNT_TOKEN : ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
4041 PERSONAL_ACCESS_TOKEN : op://shawndengdev/github_access_token/credential
4142
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+
4248 - name : Check out
4349 uses : actions/checkout@v4
4450 with :
You can’t perform that action at this time.
0 commit comments