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

fix: remove payload check #19

Closed
wants to merge 1 commit into from

Conversation

dword-design
Copy link
Contributor

The payload check does not work on non-webhook events (like schedule). Also, the payload property is not used elsewhere in the project and commit-from-action.

The payload check does not work on non-webhook events (like schedule)
@Jaid
Copy link
Owner

Jaid commented May 24, 2021

I can't even remember what this check was originally needed for.

if (!context?.payload?.repository) {
  throw new Error("Could not fetch repository info from context.payload.repository")
}

I'll remove it for now and may revisit this topic if I remember its purpose.

@Jaid Jaid closed this May 24, 2021
Jaid added a commit that referenced this pull request May 24, 2021
Signed-off-by: Jaid <jaid.jsx@gmail.com>
@dword-design
Copy link
Contributor Author

@Jaid But are you merging it?

@dword-design
Copy link
Contributor Author

@Jaid Just saw that you removed it. nvm

@dword-design dword-design deleted the remove-payload-check branch May 27, 2021 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants