Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ The action can be configured using the following settings:
| `PatchLabels` | A comma separated list of labels that trigger a patch release. | `false` | `patch, fix` |
| `IgnoreLabels` | A comma separated list of labels that do not trigger a release. | `false` | `NoRelease` |
| `WhatIf` | Control wether to simulate the action. If enabled, the action will not create any releases. Used for testing. | `false` | `false` |
| `Debug` | Enable debug output. | `'false'` | `false` |
| `Verbose` | Enable verbose output. | `'false'` | `false` |
| `Version` | Specifies the version of the GitHub module to be installed. The value must be an exact version. | | `false` |
| `Prerelease` | Allow prerelease versions if available. | `'false'` | `false` |
| `WorkingDirectory` | The working directory where the script runs. | `'false'` | `'.'` |

## Example
Expand Down
2 changes: 2 additions & 0 deletions scripts/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Set-GitHubLogGroup "Loading helper scripts from [$path]" {
}
}

$env:GITHUB_REPOSITORY_NAME = $env:GITHUB_REPOSITORY -replace '.+/'

Set-GitHubLogGroup 'Loading inputs' {
$name = if ([string]::IsNullOrEmpty($env:PSMODULE_PUBLISH_PSMODULE_INPUT_Name)) {
$env:GITHUB_REPOSITORY_NAME
Expand Down
Loading