[newlib-cygwin/main] Cygwin: CI: don't run on both main and master refs

Jon Turney jturney@sourceware.org
Wed Aug 2 16:27:33 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=57e3e3d3abf6733567cc0f3d2a267a1dea21e9dd

commit 57e3e3d3abf6733567cc0f3d2a267a1dea21e9dd
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat Jul 22 17:47:02 2023 +0100

    Cygwin: CI: don't run on both main and master refs

Diff:
---
 .github/workflows/cygwin.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 1034495e6..378d1d14a 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -1,6 +1,10 @@
 name: cygwin
 
-on: push
+on:
+ push:
+   # since master is a symbolic reference to main, don't run for both
+   branches-ignore:
+     - 'master'
 
 jobs:
   fedora-build:


More information about the Cygwin-cvs mailing list