Skip to content

Commit 3dd6874

Browse files
🩹 [Patch]: Update default values for WorkingDirectory to be '.' (#45)
## Description This pull request includes updates to the default values for the `WorkingDirectory` input in both the `README.md` and `action.yml` files. These changes ensure consistency in the default working directory for the script. Documentation updates: * [`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L24-R24): Updated the default value for the `WorkingDirectory` input from `${{ github.workspace }}` to `'.'`. Configuration updates: * [`action.yml`](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L52-R52): Updated the default value for the `WorkingDirectory` input from `${{ github.workspace }}` to `'.'`. ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [x] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [ ] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 7f22b12 commit 3dd6874

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ To get started with your own GitHub PowerShell based action, [create a new repos
88

99
### Inputs
1010

11-
| Name | Description | Required | Default |
12-
|--------------------|---------------------------------------------------------------------------|----------|---------------------------|
13-
| `Script` | The script to run. Can be inline, multi-line, or a path to a script file. | false | |
14-
| `Token` | Log in using an Installation Access Token (IAT). | false | `${{ github.token }}` |
15-
| `ClientID` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | |
16-
| `PrivateKey` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | |
17-
| `Debug` | Enable debug output. | false | `'false'` |
18-
| `Verbose` | Enable verbose output. | false | `'false'` |
19-
| `Version` | Specifies the exact version of the GitHub module to install. | false | |
20-
| `Prerelease` | Allow prerelease versions if available. | false | `'false'` |
21-
| `ShowInfo` | Show information about the environment. | false | `'true'` |
22-
| `ShowInit` | Show information about the initialization. | false | `'false'` |
23-
| `ShowOutput` | Show the script's output. | false | `'false'` |
24-
| `WorkingDirectory` | The working directory where the script runs. | false | `${{ github.workspace }}` |
11+
| Name | Description | Required | Default |
12+
|--------------------|---------------------------------------------------------------------------|----------|-----------------------|
13+
| `Script` | The script to run. Can be inline, multi-line, or a path to a script file. | false | |
14+
| `Token` | Log in using an Installation Access Token (IAT). | false | `${{ github.token }}` |
15+
| `ClientID` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | |
16+
| `PrivateKey` | Log in using a GitHub App, with the App's Client ID and Private Key. | false | |
17+
| `Debug` | Enable debug output. | false | `'false'` |
18+
| `Verbose` | Enable verbose output. | false | `'false'` |
19+
| `Version` | Specifies the exact version of the GitHub module to install. | false | |
20+
| `Prerelease` | Allow prerelease versions if available. | false | `'false'` |
21+
| `ShowInfo` | Show information about the environment. | false | `'true'` |
22+
| `ShowInit` | Show information about the initialization. | false | `'false'` |
23+
| `ShowOutput` | Show the script's output. | false | `'false'` |
24+
| `WorkingDirectory` | The working directory where the script runs. | false | `'.'` |
2525

2626
### Outputs
2727

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ inputs:
4949
WorkingDirectory:
5050
description: The working directory where the script will run from.
5151
required: false
52-
default: ${{ github.workspace }}
52+
default: '.'
5353

5454
outputs:
5555
result:

0 commit comments

Comments
 (0)