|
428 | 428 | page_build |
429 | 429 | ``` |
430 | 430 |
|
431 | | -{% ifversion projects-v1 %} |
432 | | - |
433 | | -## `project` |
434 | | - |
435 | | -| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` | |
436 | | -| --------------------- | -------------- | ------------ | -------------| |
437 | | -| [`project`](/webhooks-and-events/webhooks/webhook-events-and-payloads#project) | - `created`<br/>- `closed`<br/>- `reopened`<br/>- `edited`<br/>- `deleted`<br/> | Last commit on default branch | Default branch | |
438 | | - |
439 | | -> [!NOTE] |
440 | | -> * {% data reusables.developer-site.multiple_activity_types %} The `edited` activity type refers to when a {% data variables.projects.projects_v1_board %}, not a column or card on the {% data variables.projects.projects_v1_board %}, is edited. For information about each activity type, see [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#project). {% data reusables.developer-site.limit_workflow_to_activity_types %} |
441 | | -> * {% data reusables.actions.branch-requirement %} |
442 | | -> * This event only occurs for projects owned by the workflow's repository, not for organization-owned or user-owned projects or for projects owned by another repository. |
443 | | - |
444 | | -Runs your workflow when a {% data variables.projects.projects_v1_board %} is created or modified. For activity related to cards or columns in a {% data variables.projects.projects_v1_board %}, use the [`project_card`](#project_card) or [`project_column`](#project_column) events instead. For more information about {% data variables.projects.projects_v1_boards %}, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards). For information about the {% data variables.projects.projects_v1_board %} APIs, see [AUTOTITLE](/graphql/reference/projects-classic#object-project) in the GraphQL API documentation or [AUTOTITLE](/rest/projects-classic). |
445 | | - |
446 | | -For example, you can run a workflow when a project has been `created` or `deleted`. |
447 | | - |
448 | | -```yaml |
449 | | -on: |
450 | | - project: |
451 | | - types: [created, deleted] |
452 | | -``` |
453 | | - |
454 | | -## `project_card` |
455 | | - |
456 | | -| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` | |
457 | | -| --------------------- | -------------- | ------------ | -------------| |
458 | | -| [`project_card`](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_card) | - `created`<br/>- `moved`<br/>- `converted` to an issue<br/>- `edited`<br/>- `deleted` | Last commit on default branch | Default branch | |
459 | | - |
460 | | -> [!NOTE] |
461 | | -> * {% data reusables.developer-site.multiple_activity_types %} For information about each activity type, see [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_card). {% data reusables.developer-site.limit_workflow_to_activity_types %} |
462 | | -> * {% data reusables.actions.branch-requirement %} |
463 | | -> * This event only occurs for projects owned by the workflow's repository, not for organization-owned or user-owned projects or for projects owned by another repository. |
464 | | - |
465 | | -Runs your workflow when a card on a {% data variables.projects.projects_v1_board %} is created or modified. For activity related to {% data variables.projects.projects_v1_boards %} or columns in a {% data variables.projects.projects_v1_board %}, use the [`project`](#project) or [`project_column`](#project_column) event instead. For more information about {% data variables.projects.projects_v1_boards %}, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards). For information about the project card APIs, see [AUTOTITLE](/graphql/reference/projects-classic#object-projectcard) in the GraphQL API documentation or [AUTOTITLE](/rest/projects-classic/cards). |
466 | | - |
467 | | -For example, you can run a workflow when a project card has been `created` or `deleted`. |
468 | | - |
469 | | -```yaml |
470 | | -on: |
471 | | - project_card: |
472 | | - types: [created, deleted] |
473 | | -``` |
474 | | - |
475 | | -## `project_column` |
476 | | - |
477 | | -| Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` | |
478 | | -| --------------------- | -------------- | ------------ | -------------| |
479 | | -| [`project_column`](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_column) | - `created`<br/>- `updated`<br/>- `moved`<br/>- `deleted` | Last commit on default branch | Default branch | |
480 | | - |
481 | | -> [!NOTE] |
482 | | -> * {% data reusables.developer-site.multiple_activity_types %} For information about each activity type, see [AUTOTITLE](/webhooks-and-events/webhooks/webhook-events-and-payloads#project_column). {% data reusables.developer-site.limit_workflow_to_activity_types %} |
483 | | -> * {% data reusables.actions.branch-requirement %} |
484 | | -> * This event only occurs for projects owned by the workflow's repository, not for organization-owned or user-owned projects or for projects owned by another repository. |
485 | | - |
486 | | -Runs your workflow when a column on a {% data variables.projects.projects_v1_board %} is created or modified. For activity related to {% data variables.projects.projects_v1_boards %} or cards in a {% data variables.projects.projects_v1_board %}, use the [`project`](#project) or [`project_card`](#project_card) event instead. For more information about {% data variables.projects.projects_v1_boards %}, see [AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards). For information about the project column APIs, see [AUTOTITLE](/graphql/reference/projects-classic#object-projectcolumn) in the GraphQL API documentation or [AUTOTITLE](/rest/projects-classic#columns). |
487 | | - |
488 | | -For example, you can run a workflow when a project column has been `created` or `deleted`. |
489 | | - |
490 | | -```yaml |
491 | | -on: |
492 | | - project_column: |
493 | | - types: [created, deleted] |
494 | | -``` |
495 | | - |
496 | | -{% endif %} |
497 | | - |
498 | 431 | ## `public` |
499 | 432 |
|
500 | 433 | | Webhook event payload | Activity types | `GITHUB_SHA` | `GITHUB_REF` | |
@@ -845,7 +778,7 @@ jobs: |
845 | 778 | > * The webhook payload available to GitHub Actions does not include the `added`, `removed`, and `modified` attributes in the `commit` object. You can retrieve the full commit object using the API. For information, see [AUTOTITLE](/graphql/reference/commits#object-commit) in the GraphQL API documentation or [AUTOTITLE](/rest/commits#get-a-commit). |
846 | 779 | > * Events will not be created if more than 5,000 branches are pushed at once. Events will not be created for tags when more than three tags are pushed at once. |
847 | 780 |
|
848 | | -Runs your workflow when you push a commit or tag, or when you create a repository from a template. This includes workflows that are not merged into the default branch. For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/events-that-trigger-workflows#running-your-workflow-only-when-a-push-to-specific-branches-occurs). |
| 781 | +Runs your workflow when you push a commit or tag, or when you create a repository from a template. This includes workflows that are not merged into the default branch. For more information, see [AUTOTITLE](/actions/reference/workflows-and-actions/events-that-trigger-workflows#running-your-workflow-only-when-a-push-to-specific-branches-occurs). |
849 | 782 |
|
850 | 783 | For example, you can run a workflow when the `push` event occurs. |
851 | 784 |
|
|
0 commit comments