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

Please document on: schedule event payload #141

Open
vlsi opened this issue Aug 13, 2020 · 4 comments
Open

Please document on: schedule event payload #141

vlsi opened this issue Aug 13, 2020 · 4 comments
Labels
Status: Blocked Some technical or requirement is blocking the issue Type: Feature New feature or request
Projects

Comments

@vlsi
Copy link

vlsi commented Aug 13, 2020

From what I see the schedule event contains just a single field with the schedule itself, however, it is not documented.

@ghost ghost added this to Inbox in JS Aug 13, 2020
@gr2m
Copy link
Contributor

gr2m commented Aug 13, 2020

Thanks Vladimir for bringing this to our attention. We currently include all events that are documented on this page:
https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads

The schedule event is currently not documented, because it's not a webhook that is sent to external servers via http, it is an internal event used exclusively for GItHub Actions. That being said, the same is true for the workflow_dispatch event.

I'm not sure what the right course of action here is, I've contacted GitHub's documentation team to see what they think. I'll keep you posted

@gr2m gr2m added Status: Blocked Some technical or requirement is blocking the issue Type: Feature New feature or request labels Sep 10, 2020
@ghost ghost moved this from Inbox to Blocked (by GitHub APIs) in JS Sep 10, 2020
@wolfy1339
Copy link
Member

Is there any development on this issue?

@gr2m
Copy link
Contributor

gr2m commented Apr 15, 2021

I think the right thing to do here is to wait until we create @octokit/events, which would have all the events, and use @octokit/webhooks for only the webhooks logic (signature verification, request handling)

@gr2m
Copy link
Contributor

gr2m commented Jun 6, 2021

For the record, I just needed to know what the event payload looks like for the schedule event, and it just has the schedule key

{
  "schedule": "*/5 * * * *"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Blocked Some technical or requirement is blocking the issue Type: Feature New feature or request
Projects
No open projects
JS
  
Blocked
Development

No branches or pull requests

3 participants