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 };
}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "create-github-app-token",
"version": "2.0.5",
"version": "2.0.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "create-github-app-token",
"version": "2.0.5",
"version": "2.0.6",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",

View File

@@ -2,7 +2,7 @@
"name": "create-github-app-token",
"private": true,
"type": "module",
"version": "2.0.5",
"version": "2.0.6",
"description": "GitHub Action for creating a GitHub App Installation Access Token",
"scripts": {
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0 --packages=bundle",