ions)
    * [ GitHub security features  ](/en/actions/security-guides/using-githubs-security-features-to-secure-your-use-of-github-actions)
    * [ Automatic token authentication  ](/en/actions/security-guides/automatic-token-authentication)

  * Creating actions 

    * [ About custom actions  ](/en/actions/creating-actions/about-custom-actions)
    * [ Create a Docker container action  ](/en/actions/creating-actions/creating-a-docker-container-action)
    * [ Create a JavaScript action  ](/en/actions/creating-actions/creating-a-javascript-action)
    * [ Create a composite action  ](/en/actions/creating-actions/creating-a-composite-action)
    * [ Metadata syntax  ](/en/actions/creating-actions/metadata-syntax-for-github-actions)
    * [ Dockerfile support  ](/en/actions/creating-actions/dockerfile-support-for-github-actions)
    * [ Set exit codes  ](/en/actions/creating-actions/setting-exit-codes-for-actions)
    * [ Publish in GitHub Marketplace  ](/en/actions/creating-actions/publishing-actions-in-github-marketplace)
    * [ Share from your private repository  ](/en/actions/creating-actions/sharing-actions-and-workflows-from-your-private-repository)
    * [ Share with your organization  ](/en/actions/creating-actions/sharing-actions-and-workflows-with-your-organization)
    * [ Release and maintain actions  ](/en/actions/creating-actions/releasing-and-maintaining-actions)
    * [ CLI setup action  ](/en/actions/creating-actions/developing-a-third-party-cli-action)

  * [ Guides for GitHub Actions  ](/en/actions/guides)

  * [ GitHub Actions ](/en/actions "GitHub Actions") / 
  * [ Using workflows ](/en/actions/using-workflows "Using workflows") / 
  * [ Events that trigger workflows ](/en/actions/using-workflows/events-that-trigger-workflows "Events that trigger workflows")

#  Events that trigger workflows

You can configure your workflows to run when specific activity on GitHub
happens, at a scheduled time, or when an event outside of GitHub occurs.

##  In this article

  * About events that trigger workflows 
  * branch_protection_rule 
  * check_run 
  * check_suite 
  * create 
  * delete 
  * deployment 
  * deployment_status 
  * discussion 
  * discussion_comment 
  * fork 
  * gollum 
  * issue_comment 
  * issues 
  * label 
  * merge_group 
  * milestone 
  * page_build 
  * project 
  * project_card 
  * project_column 
  * public 
  * pull_request 
  * pull_request_comment (use issue_comment) 
  * pull_request_review 
  * pull_request_review_comment 
  * pull_request_target 
  * push 
  * registry_package 
  * release 
  * repository_dispatch 
  * schedule 
  * status 
  * watch 
  * workflow_call 
  * workflow_dispatch 
  * workflow_run 

##  About events that trigger workflows

Workflow triggers are events that cause a workflow to run. For more
information about how to use workflow triggers, see " [ Triggering a workflow
](/en/actions/using-workflows/triggering-a-workflow) ."

Some events have multiple activity types. For these events, you can specify
which activity types will trigger a workflow run. For more information about
what each activity type means, see " [ Webhook events and payloads
](/en/webhooks-and-events/webhooks/webhook-events-and-payloads) ."

**Note:** Not all webhook events trigger workflows.

##  ` branch_protection_rule `

Webhook event payload  |  Activity types  |  ` GITHUB_SHA ` |  ` GITHUB_REF `  
---|---|---|---  
[ ` branch_protection_rule ` ](/en/webhooks-and-events/webhooks/webhook-events-and-payloads#branch_protection_rule) |  \- ` created `   
\- ` edited `  
\- ` deleted ` |  Last commit on default branch  |  Default branch   
  
**Note** : More than one activity type triggers this event. For information
about each activity type, see " [ Webhook events and payloads ](/en/webhooks-
and-events/webhooks/webhook-events-and-payloads#branch_protection_rule) ." By
default, all activity types trigger workflows that run on this event. You can
limit your workflow runs to specific acti