From 4b519bad17a62889aa7b468825c8c60a9b35b73e Mon Sep 17 00:00:00 2001 From: Herwig Hochleitner Date: Tue, 13 Jun 2023 11:42:58 +0000 Subject: [PATCH] notes on action trigger support --- user/actions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user/actions.md b/user/actions.md index 7f395b94..adefaa4a 100644 --- a/user/actions.md +++ b/user/actions.md @@ -45,6 +45,10 @@ Once the secret is added, its value cannot be changed or displayed. The syntax and semantic of the YAML file describing a `workflow` are partially explained here. When an entry is missing the [GitHub Actions](https://docs.github.com/en/actions) documentation can help because there are similarities. But there also are significant differences that deserve testing. +## on + +Workflows can trigger on certain events. Not everything from https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows is implemented yet. Please refer to the [forgejo/actions package source code](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/modules/actions/workflows.go) and the [list of webhook event names](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/modules/webhook/type.go) to find out about supported triggers. + ## jobs ### runs-on