You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2024/06/03 22:22:35 UTC

(couchdb-fauxton) branch main updated: Update Github workflow trigger (#1453)

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git


The following commit(s) were added to refs/heads/main by this push:
     new 8d753acc Update Github workflow trigger (#1453)
8d753acc is described below

commit 8d753acc30fedf1af2f02e5632e43a4354e7e7d5
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Tue Jun 4 00:22:29 2024 +0200

    Update Github workflow trigger (#1453)
    
    Run workflow when pushing to the main branch and when opening a PR against the main branch.
---
 .github/workflows/main.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ba5abdfd..63320d0e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,5 +1,11 @@
 name: CI
-on: [ push ]
+on:
+  push:
+    branches:
+      - main
+  pull_request:
+    branches:
+      - main
 jobs:
   run-unit-tests:
     name: Run unit tests