From 201f0f3ef8dd87572accf989e870192f63c04f79 Mon Sep 17 00:00:00 2001 From: Christopher Homberger Date: Mon, 28 Jul 2025 20:39:01 +0000 Subject: [PATCH] Document workflow_dispatch workflow_run (#238) Document missing workflow triggers of 1.23..1.25-dev Co-authored-by: Lunny Xiao Reviewed-on: https://gitea.com/gitea/docs/pulls/238 Reviewed-by: Lunny Xiao Co-authored-by: Christopher Homberger Co-committed-by: Christopher Homberger --- docs/usage/actions/faq.md | 2 ++ versioned_docs/version-1.23/usage/actions/faq.md | 1 + versioned_docs/version-1.24/usage/actions/faq.md | 1 + 3 files changed, 4 insertions(+) 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.