Skip to content

Commit

Permalink
dist: build new version
Browse files Browse the repository at this point in the history
  • Loading branch information
korthout committed Aug 21, 2024
1 parent cacb018 commit 0dd861c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ class Backport {
: workflowRepo;
if (repo === undefined)
throw new Error("No repository defined!");
if (this.config.source_pr_number !== undefined &&
this.github.getEventName() !== "workflow_dispatch") {
throw new Error("source_pr_number can only be specified for workflow_dispatch events!");
}
const pull_number = this.config.source_pr_number === undefined
? this.github.getPullNumber()
: this.config.source_pr_number;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit 0dd861c

Please sign in to comment.