Skip to content

Latest commit

 

History

History
105 lines (74 loc) · 6.5 KB

File metadata and controls

105 lines (74 loc) · 6.5 KB

Icon GitHub Action: Local actions

Local actions

Marketplace Release License Stars PRs Welcome GitHub Verified Creator

Overview

Action to expose sibling local actions next to the current action directory. It creates a symlink to the parent actions directory at ../<destination-directory-name> relative to github.workspace during the main step and removes it automatically in the post step.

Usage

- uses: hoverkraft-tech/ci-github-common/actions/local-actions@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3
  with:
    # The actions root path that contains the sibling local actions.
    # Pass the caller actions root, typically by appending `/../..` to `github.action_path`.
    #
    # This input is required.
    source-path: ""

    # Destination directory name created next to `github.workspace`.
    # Use only a directory name (no path separators).
    #
    # Default: `self-actions`
    destination-directory-name: self-actions

Inputs

Input Description Required Default
source-path The actions root path that contains the sibling local actions. true -
Pass the caller actions root, typically by appending /../.. to github.action_path.
destination-directory-name Destination directory name created next to github.workspace. false self-actions
Use only a directory name (no path separators).

Outputs

Output Description
path The resolved destination path for the copied local actions.

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.