Skip to content

Commit

Permalink
Ignore unrelated changes in support/ when triggering CI
Browse files Browse the repository at this point in the history
* Gemfile includes already trigger changes via Gemfile.lock

* changes to CI generation script should only trigger CI when they
  result in a different workflow file
  • Loading branch information
mostlyobvious committed Sep 6, 2023
1 parent fef66d1 commit d4f2f0f
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/aggregate_root.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/minitest-ruby_event_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ on:
- script
workflow_dispatch:
push:
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/minitest-ruby_event_store/**"
- ".github/workflows/minitest-ruby_event_store.yml"
- "support/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/minitest-ruby_event_store/**"
- ".github/workflows/minitest-ruby_event_store.yml"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/rails_event_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-active_record.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ruby_event_store-flipper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ on:
- script
workflow_dispatch:
push:
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-flipper/**"
- ".github/workflows/ruby_event_store-flipper.yml"
- "support/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-flipper/**"
- ".github/workflows/ruby_event_store-flipper.yml"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ruby_event_store-newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ on:
- script
workflow_dispatch:
push:
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-newrelic/**"
- ".github/workflows/ruby_event_store-newrelic.yml"
- "support/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-newrelic/**"
- ".github/workflows/ruby_event_store-newrelic.yml"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ruby_event_store-profiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ on:
- script
workflow_dispatch:
push:
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-profiler/**"
- ".github/workflows/ruby_event_store-profiler.yml"
- "support/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-profiler/**"
- ".github/workflows/ruby_event_store-profiler.yml"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ruby_event_store-transformations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ on:
- script
workflow_dispatch:
push:
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-transformations/**"
- ".github/workflows/ruby_event_store-transformations.yml"
- "support/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "contrib/ruby_event_store-transformations/**"
- ".github/workflows/ruby_event_store-transformations.yml"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
6 changes: 6 additions & 0 deletions support/ci/contrib.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ on:
- script
workflow_dispatch:
push:
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "<%= working_directory %>/**"
- ".github/workflows/<%= name %>.yml"
- "support/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "support/bundler/**"
- "support/ci/**"
paths:
- "<%= working_directory %>/**"
- ".github/workflows/<%= name %>.yml"
Expand Down
4 changes: 4 additions & 0 deletions support/ci/db.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions support/ci/elm.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions support/ci/ruby.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
pull_request:
types: [opened, reopened]
paths-ignore:
- "railseventstore.org/**"
- "contrib/**"
- "support/bundler/**"
- "support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit d4f2f0f

Please sign in to comment.