This action checks out the reusable workflow repository that defines the current job and moves it to ../self-workflow relative to github.workspace.
Use it when consuming reusable workflows that reference local actions from the same repository—they are not automatically available in the caller repository and must be synced manually.
Local actions will be available at ../self-workflow/<actions-path> relative to github.workspace.
Example: if actions-path is .github/actions, then local actions will be available at ../self-workflow/.github/actions.
- uses: hoverkraft-tech/ci-github-common/actions/local-workflow-actions@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
with:
# Relative path(s) (inside the workflow repository) containing the local actions to expose in the current workspace.
# The same relative path will be available under `../self-workflow` relative to `github.workspace` (for example `../self-workflow/.github/actions`).
#
# Default: `.github/actions`
actions-path: .github/actions| Input | Description | Required | Default |
|---|---|---|---|
actions-path |
Relative path(s) (inside the workflow repository) containing the local actions to expose in the current workspace. | false | .github/actions |
The same relative path will be available under ../self-workflow relative to github.workspace (for example ../self-workflow/.github/actions). |
| Output | Description |
|---|---|
repository |
The reusable workflow repository that was checked out, in the format owner/repo. |
ref |
The Git ref or SHA of the reusable workflow repository that was checked out. |
path |
The resolved path where the reusable workflow actions are available. |
Contributions are welcome! Please see the contributing guidelines for more details.
This project is licensed under the MIT License.
SPDX-License-Identifier: MIT
Copyright © 2026 hoverkraft
For more details, see the license.
This documentation was automatically generated by CI Dokumentor.