Skip to content

Latest commit

 

History

History
118 lines (75 loc) · 4.97 KB

File metadata and controls

118 lines (75 loc) · 4.97 KB

Icon GitHub Action: Local workflow actions

Local workflow actions

Marketplace Release License Stars PRs Welcome

Overview

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.

Usage

- 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

Inputs

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).

Outputs

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.

Contributing

Contributions are welcome! Please see the contributing guidelines for more details.

License

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.