build(release): 2.0.6 [skip ci]

## [2.0.6](https://github.com/actions/create-github-app-token/compare/v2.0.5...v2.0.6) (2025-05-03)

### Bug Fixes

* replace `-` with `_` ([#246](https://github.com/actions/create-github-app-token/issues/246)) ([3336784](333678481b))
This commit is contained in:
semantic-release-bot
2025-05-03 21:58:35 +00:00
parent 333678481b
commit df432ceedc
3 changed files with 4 additions and 4 deletions

2
dist/main.cjs vendored
View File

@@ -42400,7 +42400,7 @@ function getPermissionsFromInputs(env) {
return Object.entries(env).reduce((permissions2, [key, value]) => {
if (!key.startsWith("INPUT_PERMISSION-")) return permissions2;
if (!value) return permissions2;
const permission = key.slice("INPUT_PERMISSION-".length).toLowerCase();
const permission = key.slice("INPUT_PERMISSION-".length).toLowerCase().replaceAll(/-/g, "_");
if (permissions2 === void 0) {
return { [permission]: value };
}