From 815c8707ef4c5d2a954c301483b265879d761e9b Mon Sep 17 00:00:00 2001 From: Dakurei Date: Mon, 24 Apr 2023 11:24:12 +0200 Subject: [PATCH] Make sure to run Github Actions only on main or main's pull_request --- .github/workflows/rspec.yml | 8 ++++---- .github/workflows/rubocop.yml | 8 ++++---- .github/workflows/yard.yml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index 9974bc64b..116be03ce 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -2,11 +2,11 @@ name: "Rspec" on: push: - branches-ignore: - - gh-pages + branches: + - main pull_request: - branches-ignore: - - gh-pages + branches: + - main jobs: rspec: diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 5e893f2a7..597277770 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -2,11 +2,11 @@ name: "Rubocop" on: push: - branches-ignore: - - gh-pages + branches: + - main pull_request: - branches-ignore: - - gh-pages + branches: + - main jobs: rubocop: diff --git a/.github/workflows/yard.yml b/.github/workflows/yard.yml index d1490e4fb..2f7a263a4 100644 --- a/.github/workflows/yard.yml +++ b/.github/workflows/yard.yml @@ -2,11 +2,11 @@ name: "Yard" on: push: - branches-ignore: - - gh-pages + branches: + - main pull_request: - branches-ignore: - - gh-pages + branches: + - main jobs: yard: