Skip to content

Commit

Permalink
fix: add ARGOS_PR_NUMBER, remove --pull-request arg
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Jan 8, 2023
1 parent b904843 commit 362bd57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ program
'One or more globs matching image file paths to ignore (ex: "**/*.png **/diff.jpg")'
)
.option("--token <token>", "Repository token")
.option("--pull-request <number>", "Pull-request number")
.option(
"--build-name <string>",
"Name of the build, in case you want to run multiple Argos builds in a single CI job"
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ const schema = {
nullable: true,
},
prNumber: {
env: "ARGOS_PR_NUMBER",
format: Number,
default: null,
nullable: true,
Expand Down

0 comments on commit 362bd57

Please sign in to comment.