Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to fail silently #15

Open
thetarnav opened this issue Aug 16, 2022 · 0 comments
Open

Option to fail silently #15

thetarnav opened this issue Aug 16, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@thetarnav
Copy link

thetarnav commented Aug 16, 2022

Hey!
I'm trying to use this action to publish an extension that is a part of a monorepo that consists of npm packages and the extension.
The automated publishing action goes over all the packages and tries to publish them. If the npm package version hasn't been updated—the package get's skipped. But when the extension's version stays the same, this action tries to publish it anyway—which is fine—but then the script throws which also cancels the whole action.

{
  kind: 'chromewebstore#item',
  id: 'my-ext-id',
  uploadState: 'FAILURE',
  itemError: [
    {
      error_code: 'ITEM_NOT_UPDATABLE',
      error_detail: 'The item cannot be updated now because it is in pending review, ready to publish, or deleted status.'
    }
  ]
}

Would it be possible to have an option for silent errors or something that would prevent throwing?

It could also be helpful in repos with only the extension, where the action is just running automatically on push every time—regardless of if the extension was updated or not.

@mnao305 mnao305 added enhancement New feature or request good first issue Good for newcomers labels Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants