Skip to content

Commit

Permalink
Require org name match only when not mirroring
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Apr 22, 2024
1 parent 9636388 commit 48e96f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94352,7 +94352,7 @@ var FlakeHubPushAction = class {
}
const orgName = parts.at(0);
const repoName = parts.at(1);
if (orgName !== org) {
if (orgName !== org && !this.mirror) {
throw new Error(
`The org name \`${orgName}\` that you specified using the \`name\` input doesn't match the actual org name \`${org}\``
);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 48e96f8

Please sign in to comment.