diff --git a/docs/usage/actions/faq.md b/docs/usage/actions/faq.md index 2487eda3..102a1e56 100644 --- a/docs/usage/actions/faq.md +++ b/docs/usage/actions/faq.md @@ -163,6 +163,8 @@ For events supported only by GitHub, see GitHub's [documentation](https://docs.g | pull_request_review_comment | `created`, `edited` | | release | `published`, `edited` | | registry_package | `published` | +| workflow_dispatch | not applicable | +| workflow_run | `requested`, `completed` | > For `pull_request` events, in [GitHub Actions](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request), the `ref` is `refs/pull/:prNumber/merge`, which is a reference to the merge commit preview. However, Gitea has no such reference. > Therefore, the `ref` in Gitea Actions is `refs/pull/:prNumber/head`, which points to the head of pull request rather than the preview of the merge commit. diff --git a/versioned_docs/version-1.23/usage/actions/faq.md b/versioned_docs/version-1.23/usage/actions/faq.md index ed6c0ae0..9017fda5 100644 --- a/versioned_docs/version-1.23/usage/actions/faq.md +++ b/versioned_docs/version-1.23/usage/actions/faq.md @@ -161,6 +161,7 @@ For events supported only by GitHub, see GitHub's [documentation](https://docs.g | pull_request_review_comment | `created`, `edited` | | release | `published`, `edited` | | registry_package | `published` | +| workflow_dispatch | not applicable | > For `pull_request` events, in [GitHub Actions](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request), the `ref` is `refs/pull/:prNumber/merge`, which is a reference to the merge commit preview. However, Gitea has no such reference. > Therefore, the `ref` in Gitea Actions is `refs/pull/:prNumber/head`, which points to the head of pull request rather than the preview of the merge commit. diff --git a/versioned_docs/version-1.24/usage/actions/faq.md b/versioned_docs/version-1.24/usage/actions/faq.md index 2487eda3..c3d057bf 100644 --- a/versioned_docs/version-1.24/usage/actions/faq.md +++ b/versioned_docs/version-1.24/usage/actions/faq.md @@ -163,6 +163,7 @@ For events supported only by GitHub, see GitHub's [documentation](https://docs.g | pull_request_review_comment | `created`, `edited` | | release | `published`, `edited` | | registry_package | `published` | +| workflow_dispatch | not applicable | > For `pull_request` events, in [GitHub Actions](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request), the `ref` is `refs/pull/:prNumber/merge`, which is a reference to the merge commit preview. However, Gitea has no such reference. > Therefore, the `ref` in Gitea Actions is `refs/pull/:prNumber/head`, which points to the head of pull request rather than the preview of the merge commit.