Action to resolve and validate a working directory path.
- 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"| 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 |
| Output | Description |
|---|---|
absolute-path |
The resolved absolute working directory path. |
workspace-relative-path |
The resolved working directory path relative to GITHUB_WORKSPACE. |
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.