File tree Expand file tree Collapse file tree
actions/local-workflow-actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ inputs:
1717 The same relative path will be available under `../self-workflow` relative to `github.workspace` (for example `../self-workflow/.github/actions`).
1818 required : false
1919 default : " .github/actions"
20+ github-token :
21+ description : |
22+ A GitHub token with permissions to checkout the reusable workflow repository.
23+ This is required when the repository is private. For public repositories, this can be left empty and the checkout will be attempted anonymously.
24+ required : false
25+ default : ${{ github.token }}
2026
2127outputs :
2228 repository :
4046 ref : ${{ job.workflow_sha }}
4147 sparse-checkout : |
4248 ${{ inputs.actions-path }}
49+ token : ${{ inputs.github-token || github.token }}
4350
4451 - id : prepare
4552 uses : actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
You can’t perform that action at this time.
0 commit comments