From 243cec20e752b41a4b72d53aa0aa1d8fb40c06fb Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 6 Jan 2024 18:36:54 +0000 Subject: [PATCH] fix(workflow): only run once in PRs --- .forgejo/workflows/workflow.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index c54cc71..6ffd815 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -1,5 +1,9 @@ name: Build Documentation and Lint Code -on: [push, pull_request] +on: + push: + branches: + - 'main' + pull_request: jobs: build and lint: