Skip to content

Commit

Permalink
Make sure to run Github Actions only on main or main's pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakurei committed May 23, 2023
1 parent 8d15272 commit 44bda74
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: "Rspec"

on:
push:
branches-ignore:
- gh-pages
branches:
- main
pull_request:
branches-ignore:
- gh-pages
branches:
- main

jobs:
rspec:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: "Rubocop"

on:
push:
branches-ignore:
- gh-pages
branches:
- main
pull_request:
branches-ignore:
- gh-pages
branches:
- main

jobs:
rubocop:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/yard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: "Yard"

on:
push:
branches-ignore:
- gh-pages
branches:
- main
pull_request:
branches-ignore:
- gh-pages
branches:
- main

jobs:
yard:
Expand Down

0 comments on commit 44bda74

Please sign in to comment.