From 4af642737c1757cafba064696f2c8b63af9d570b Mon Sep 17 00:00:00 2001 From: Lukas Steiner Date: Wed, 19 Oct 2022 20:05:26 +0200 Subject: [PATCH] fix always run test workflow --- .github/workflows/build.yml | 2 -- .github/workflows/test.yml | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29c350f..7d3bdab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,8 +3,6 @@ name: Build and publish Container Image on: push: branches: ["main"] - pull_request: - branches: ["main"] env: REGISTRY: ghcr.io diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40c4a57..47e00f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,10 @@ name: Run Go tests -on: [push] +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] jobs: test: