From 6483669c68e552f6b573ccc8a46cbe9b2f18ff39 Mon Sep 17 00:00:00 2001 From: Eduard Filip Date: Wed, 18 Dec 2024 14:35:57 +0100 Subject: [PATCH] Fix workflow branch syntax (#90) In a previous PR we used `branch` syntax to trigger the pipeline when a push on `main` was made. This was a mistake and `branches` is the correct syntax that achieves this. --- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 80bbfb9..179c50e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,6 @@ on: push: - branch: [main] + branches: [main] pull_request: name: Lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e608aba..099d309 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ on: push: - branch: [main] + branches: [main] pull_request: name: Run acceptance tests