diff --git a/.gitea/workflows/trufflehog.yml b/.gitea/workflows/trufflehog.yml index e0b5b21..d2ddd54 100644 --- a/.gitea/workflows/trufflehog.yml +++ b/.gitea/workflows/trufflehog.yml @@ -1,6 +1,9 @@ name: Build and Push Docker Images -on: [pull_request, push] +on: + pull_request: + branches: + - main jobs: build-and-push: diff --git a/.gitea/workflows/validate.yaml b/.gitea/workflows/validate.yaml index e76bf65..14c7f69 100644 --- a/.gitea/workflows/validate.yaml +++ b/.gitea/workflows/validate.yaml @@ -1,10 +1,9 @@ name: Validate Kubernetes & YAML on: - push: - branches: [ "main" ] pull_request: - branches: [ "main" ] + branches: + - main jobs: validate-all: