0 votes
in GitHub by
Explain about the project webhook trigger in Github actions?

1 Answer

0 votes
by

project

Webhook event payloadActivity typesGITHUB_SHAGITHUB_REF
projectcreated
closed
reopened
edited
deleted
Last commit on default branchDefault branch

Note: More than one activity type triggers this event. The edited activity type refers to when a project board, not a column or card on the project board, is edited. For information about each activity type.

Note: This event will only trigger a workflow run if the workflow file is on the default branch.

Note: 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.

Note: This event only occurs for projects (classic).

Runs your workflow when a project board is created or modified. For activity related to cards or columns in a project board.

For example, you can run a workflow when a project has been created or deleted.

on:
  project:
    types: [created, deleted]
...