0 votes
in GitHub by

Explain about the issues trigger event in github actions?

1 Answer

0 votes
by
Webhook event payloadActivity typesGITHUB_SHAGITHUB_REF
issuesopened
edited
deleted
transferred
pinned
unpinned
closed
reopened
assigned
unassigned
labeled
unlabeled
locked
unlocked
milestoned
demilestoned
Last commit on default branchDefault branch

Note: More than one activity type triggers this event. For information about each activity type, By default, all activity types trigger workflows that run on this event. You can limit your workflow runs to specific activity types using the types keyword. For more information.

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

Runs your workflow when an issue in the workflow's repository is created or modified. For activity related to comments in an issue, use the issue_comment event. 

For example, you can run a workflow when an issue has been openededited, or milestoned.

on:
  issues:
    types: [opened, edited, milestoned]
...