Skip to content

Commit

Permalink
build: Remove duplicate CI actions (#25)
Browse files Browse the repository at this point in the history
Previously, we ran CI actions on pushes to any branch and on changes to
a pull request, which resulted in duplicate events being run in pull
requests. This commit changes the GitHub Actions build rules to only run
CI on pushes to the *main* branch and on any changes to a pull request.
  • Loading branch information
ethan-readyset authored Nov 30, 2023
1 parent fc9855a commit fd636b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Ruby

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
rubocop:
Expand Down

0 comments on commit fd636b4

Please sign in to comment.