ignore some triggers which are not supported yet

This commit is contained in:
Oliver Lippert 2024-01-22 07:11:31 +01:00
parent 201215cb1b
commit 1448b29e8e
Signed by: oliver
GPG key ID: 4AE99C459BC7D2B3
2 changed files with 25 additions and 20 deletions

View file

@ -1,39 +1,41 @@
on: on:
branch_protection_rule: #branch_protection_rule:
check_run: #check_run:
check_suite: #check_suite:
create: create:
delete: delete:
deployment: #deployment:
discussion: #discussion:
discussion_comment: #discussion_comment:
fork: fork:
gollum: gollum:
issue_comment: issue_comment:
issues: issues:
label: #label:
merge_group: #merge_group:
milestone: #milestone:
page_build: #page_build:
project: #project:
project_card: #project_card:
project_column: #project_column:
public: #public:
pull_request: pull_request:
pull_request_review: pull_request_review:
pull_request_review_comment: pull_request_review_comment:
pull_request_target: pull_request_target:
# noinspection YAMLSchemaValidation
pull_request_comment:
push: push:
registry_package: registry_package:
release: release:
repository_dispatch: #repository_dispatch:
schedule: schedule:
- 0 0 * * * - 0 0 * * *
status: #status:
watch: #watch:
workflow_call: #workflow_call:
workflow_dispatch: #workflow_dispatch:
workflow_run: #workflow_run:
jobs: jobs:
dump: dump:

View file

@ -4,3 +4,6 @@ Which variables are set in Gitea Actions by default?
Let's try to dump all [context](https://docs.github.com/en/actions/learn-github-actions/contexts) for Let's try to dump all [context](https://docs.github.com/en/actions/learn-github-actions/contexts) for
all [triggers](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows). all [triggers](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows).
Not all GitHub triggers are implemented,
currently [the list can be found here](https://github.com/go-gitea/gitea/blob/main/modules/actions/github.go).