From 6edc2d289e0297a27e7ce9b087b570f9df849e14 Mon Sep 17 00:00:00 2001 From: Benedikt Reinartz Date: Sun, 9 Jan 2022 21:12:46 +0100 Subject: [PATCH] Only run CI on pushes to master and on all pull requests Fixes #1668 --- .github/workflows/ARM.yml | 10 +++++++--- .github/workflows/main.yml | 8 ++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ARM.yml b/.github/workflows/ARM.yml index cc56b7466..66f68366d 100644 --- a/.github/workflows/ARM.yml +++ b/.github/workflows/ARM.yml @@ -1,9 +1,13 @@ -name: GitHub Actions +name: Main (ARM) -on: [ push, pull_request ] +on: + push: + branches: + - master + pull_request: jobs: - build-test-oracle: + build-test-arm: name: Build and Test ARM64 runs-on: [self-hosted, linux, ARM64] timeout-minutes: 15 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc9312f58..218796192 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,10 @@ -name: GitHub Actions +name: Main (x64) -on: [ pull_request, push ] +on: + push: + branches: + - master + pull_request: jobs: build-test: