Skip to content

Commit

Permalink
fix: gha input is target-branch-pattern, not target-reg-exp (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
earl-warren authored Apr 3, 2024
1 parent 0a07bf3 commit e6f86f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/gha/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class GHAArgsParser extends args_parser_1.default {
auth: (0, args_utils_1.getOrUndefined)((0, core_1.getInput)("auth")),
pullRequest: (0, core_1.getInput)("pull-request"),
targetBranch: (0, args_utils_1.getOrUndefined)((0, core_1.getInput)("target-branch")),
targetBranchPattern: (0, args_utils_1.getOrUndefined)((0, core_1.getInput)("target-reg-exp")),
targetBranchPattern: (0, args_utils_1.getOrUndefined)((0, core_1.getInput)("target-branch-pattern")),
folder: (0, args_utils_1.getOrUndefined)((0, core_1.getInput)("folder")),
gitClient: (0, args_utils_1.getOrUndefined)((0, core_1.getInput)("git-client")),
gitUser: (0, args_utils_1.getOrUndefined)((0, core_1.getInput)("git-user")),
Expand Down
2 changes: 1 addition & 1 deletion src/service/args/gha/gha-args-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class GHAArgsParser extends ArgsParser {
auth: getOrUndefined(getInput("auth")),
pullRequest: getInput("pull-request"),
targetBranch: getOrUndefined(getInput("target-branch")),
targetBranchPattern: getOrUndefined(getInput("target-reg-exp")),
targetBranchPattern: getOrUndefined(getInput("target-branch-pattern")),
folder: getOrUndefined(getInput("folder")),
gitClient: getOrUndefined(getInput("git-client")),
gitUser: getOrUndefined(getInput("git-user")),
Expand Down

0 comments on commit e6f86f8

Please sign in to comment.