From 89169ca74759051c4e110fcca2d266eee6ed3a18 Mon Sep 17 00:00:00 2001 From: Parnic Date: Mon, 3 Mar 2025 10:35:29 -0600 Subject: [PATCH] Restrict branches for events --- .gitea/workflows/demo.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 1ef4a41..43ed103 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -1,6 +1,11 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push, pull_request, workflow_dispatch] +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: jobs: Explore-Gitea-Actions: