Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 5.86 KB

File metadata and controls

98 lines (67 loc) · 5.86 KB

Icon GitHub Action: Working directory

Working directory

Marketplace Release License Stars PRs Welcome GitHub Verified Creator

Overview

Action to resolve and validate a working directory path.

Usage

- uses: hoverkraft-tech/ci-github-common/actions/working-directory@2334d395217f9811699dbd4ace9d8559e4d99e0d # 0.37.3
  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.