diff --git a/.github/workflows/repo-freeze-check.yml b/.github/workflows/repo-freeze-check.yml index 7611d3ee54..a1389ba313 100644 --- a/.github/workflows/repo-freeze-check.yml +++ b/.github/workflows/repo-freeze-check.yml @@ -1,7 +1,8 @@ name: Repo Freeze Check on: - pull_request: + workflow_dispatch: + pull_request_target: types: - opened - reopened diff --git a/content/actions/reference/events-that-trigger-workflows.md b/content/actions/reference/events-that-trigger-workflows.md index e52cb74a8a..9693d877b4 100644 --- a/content/actions/reference/events-that-trigger-workflows.md +++ b/content/actions/reference/events-that-trigger-workflows.md @@ -271,6 +271,12 @@ on: deployment_status ``` +{% note %} + +**Note:** When a deployment status's state is set to `inactive`, a webhook event will not be created. + +{% endnote %} + #### `fork` Runs your workflow anytime when someone forks a repository, which triggers the `fork` event. For information about the REST API, see "[Create a fork](/rest/reference/repos#create-a-fork)."