Skip to content

Latest commit

 

History

History
97 lines (66 loc) · 3.79 KB

File metadata and controls

97 lines (66 loc) · 3.79 KB

Icon GitHub Action: Working directory

Working directory

Marketplace Release License Stars PRs Welcome

Overview

Action to resolve and validate a working directory path.

Usage

- uses: hoverkraft-tech/ci-github-common/actions/working-directory@71b85947453f32b5d147ff3ab37351439a92d840 # 0.34.2
  with:
    # Relative or absolute working directory path to resolve.
    # Default: `.`
    working-directory: .

    # Whether to fail when the resolved path is outside GITHUB_WORKSPACE.
    # Default: `true`
    enforce-path-in-workspace: "true"

Inputs

Input Description Required Default
working-directory Relative or absolute working directory path to resolve. false .
enforce-path-in-workspace Whether to fail when the resolved path is outside GITHUB_WORKSPACE. false true

Outputs

Output Description
absolute-path The resolved absolute working directory path.
workspace-relative-path The resolved working directory path relative to GITHUB_WORKSPACE.

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.