diff --git a/.github/workflows/create_npm_release.yml b/.github/workflows/create_npm_release.yml index d7d88d9d..adec8403 100644 --- a/.github/workflows/create_npm_release.yml +++ b/.github/workflows/create_npm_release.yml @@ -74,7 +74,7 @@ jobs: npm-release: needs: ["run-tests"] - if: (github.actor != 'dependabot[bot]' && github.ref_name == 'main' && !contains(github.event.head_commit.message, 'build(release)') && !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')) + if: (github.actor != 'dependabot[bot]' && !contains(github.event.head_commit.message, 'build(release)') && !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')) name: Release NPM build runs-on: ubuntu-latest permissions: diff --git a/src/inputs.ts b/src/inputs.ts index 5fdeb8d6..5ed1ad47 100644 --- a/src/inputs.ts +++ b/src/inputs.ts @@ -42,6 +42,7 @@ export type ArgvOptionProperties = { describe: string; parseValues?: boolean; type?: string; + default?: string; }; }; /** @@ -73,6 +74,7 @@ argvOptions[ConfigKeys.pathsAction] = { alias: ['pathsAction', 'action'], type: 'string', describe: 'Path to the action.yml', + default: './action.yml', }; /** @@ -85,6 +87,7 @@ argvOptions[ConfigKeys.pathsReadme] = { alias: ['pathsReadme', 'readme'], type: 'string', describe: 'Path to the README file', + default: 'README.md', }; /**