Skip to content

Commit 5700a1a

Browse files
feat: add workflow_job event (#614)
* WIP: Webhooks changed - please review * empty commit to preset the squash & merge commit subject from the pull request title Learn more at https://github.com/squash-commit-app/squash-commit-app Co-authored-by: squash-commit-app[bot] <83693605+squash-commit-app[bot]@users.noreply.github.com>
1 parent fcdb1c6 commit 5700a1a

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ If there are actions for a webhook, events are emitted for both, the webhook nam
688688
| [`team_add`](https://developer.github.com/v3/activity/events/types/#teamaddevent) | |
689689
| [`watch`](https://developer.github.com/v3/activity/events/types/#watchevent) | `started` |
690690
| [`workflow_dispatch`](https://developer.github.com/v3/activity/events/types/#workflowdispatchevent) | |
691+
| [`workflow_job`](https://developer.github.com/v3/activity/events/types/#workflowjobevent) | `completed`<br>`started` |
691692
| [`workflow_run`](https://developer.github.com/v3/activity/events/types/#workflowrunevent) | `completed`<br>`requested` |
692693

693694
<!-- /autogenerated via scripts/generate-types.ts -->

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"dependencies": {
2121
"@octokit/request-error": "^2.0.2",
2222
"@octokit/webhooks-methods": "^2.0.0",
23-
"@octokit/webhooks-types": "4.2.2",
23+
"@octokit/webhooks-types": "4.3.0",
2424
"aggregate-error": "^3.1.0"
2525
},
2626
"devDependencies": {
2727
"@jest/types": "^27.0.0",
2828
"@octokit/tsconfig": "^1.0.1",
29-
"@octokit/webhooks-schemas": "4.2.2",
29+
"@octokit/webhooks-schemas": "4.3.0",
3030
"@pika/pack": "^0.5.0",
3131
"@pika/plugin-build-node": "^0.9.2",
3232
"@pika/plugin-build-web": "^0.9.2",

src/generated/webhook-names.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ export const emitterEventNames = [
222222
"watch",
223223
"watch.started",
224224
"workflow_dispatch",
225+
"workflow_job",
226+
"workflow_job.completed",
227+
"workflow_job.started",
225228
"workflow_run",
226229
"workflow_run.completed",
227230
"workflow_run.requested",

0 commit comments

Comments
 (0)