From 030452a9b1c2b5cc88132a6ddf99f0fdc5c78506 Mon Sep 17 00:00:00 2001 From: Bert McCutchen Date: Fri, 11 Feb 2022 17:14:34 -0500 Subject: [PATCH] Don't try and gem push on PRs --- .github/workflows/codeql-analysis.yml | 11 +++++++---- .github/workflows/gem-push.yml | 4 ++-- .github/workflows/main.yml | 3 ++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6a33ade..d8514c2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,14 +9,16 @@ # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # -name: "CodeQL" +name: CodeQL on: push: - branches: [ master ] + branches: + - master pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: + - master schedule: - cron: '27 5 * * 4' @@ -32,7 +34,8 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'ruby' ] + language: + - ruby # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://git.io/codeql-language-support diff --git a/.github/workflows/gem-push.yml b/.github/workflows/gem-push.yml index 74c7daa..c52d6db 100644 --- a/.github/workflows/gem-push.yml +++ b/.github/workflows/gem-push.yml @@ -2,9 +2,9 @@ name: Ruby Gem on: push: - branches: [ master ] + branches: + - master pull_request: - branches: [ master ] jobs: build: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 97142dd..2fe65ec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,8 +4,9 @@ on: push: branches: - master - pull_request: + branches: + - master jobs: build: