From b75ce21566f8b1a1306cd252f0120904562e4143 Mon Sep 17 00:00:00 2001 From: Jan Midtgaard Date: Wed, 3 Jan 2024 17:31:13 +0100 Subject: [PATCH] Update MinGW 5.1.x workflows to avoid double runs --- .github/workflows/mingw-51x-bytecode.yml | 7 ++++++- .github/workflows/mingw-51x.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mingw-51x-bytecode.yml b/.github/workflows/mingw-51x-bytecode.yml index e4ef4f8a..596a16b2 100644 --- a/.github/workflows/mingw-51x-bytecode.yml +++ b/.github/workflows/mingw-51x-bytecode.yml @@ -1,6 +1,11 @@ name: MinGW bytecode 5.1 -on: [push, pull_request, workflow_dispatch] +on: + pull_request: + push: + branches: + - main + workflow_dispatch: jobs: build: diff --git a/.github/workflows/mingw-51x.yml b/.github/workflows/mingw-51x.yml index ef9a8e50..03638b72 100644 --- a/.github/workflows/mingw-51x.yml +++ b/.github/workflows/mingw-51x.yml @@ -1,6 +1,11 @@ name: MinGW 5.1 -on: [push, pull_request, workflow_dispatch] +on: + pull_request: + push: + branches: + - main + workflow_dispatch: jobs: build: