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:03:45 UTC
(couchdb-fauxton) 01/01: Update Github workflow trigger
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a commit to branch update-workflow-trigger
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git
commit 6a588cb7d5543e1a91b88f576deea0fd52e3eb08
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Tue Jun 4 00:03:39 2024 +0200
Update Github workflow trigger
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