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 308def8
Show file tree
Hide file tree
Showing 47 changed files with 190 additions and 2 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
4 changes: 4 additions & 0 deletions .github/workflows/aggregate_root_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "aggregate_root/Gemfile.lock"
- ".github/workflows/aggregate_root_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "aggregate_root/Gemfile.lock"
- ".github/workflows/aggregate_root_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/dres_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ on:
- "contrib/dres_rails/**"
- ".github/workflows/dres_client.yml"
- "support/**"
pull_request:
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/dres_client/**"
- "contrib/dres_rails/**"
- ".github/workflows/dres_client.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dres_rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ on:
- "contrib/dres_client/**"
- ".github/workflows/dres_rails.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/dres_rails/**"
- "contrib/dres_client/**"
- ".github/workflows/dres_rails.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/minitest-ruby_event_store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
- "contrib/minitest-ruby_event_store/**"
- ".github/workflows/minitest-ruby_event_store.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/minitest-ruby_event_store/**"
- ".github/workflows/minitest-ruby_event_store.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/minitest-ruby_event_store_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "contrib/minitest-ruby_event_store/Gemfile.lock"
- ".github/workflows/minitest-ruby_event_store_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/minitest-ruby_event_store/Gemfile.lock"
- ".github/workflows/minitest-ruby_event_store_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
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/rails_event_store_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "rails_event_store/Gemfile.lock"
- ".github/workflows/rails_event_store_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "rails_event_store/Gemfile.lock"
- ".github/workflows/rails_event_store_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
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-active_record_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "ruby_event_store-active_record/Gemfile.lock"
- ".github/workflows/ruby_event_store-active_record_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "ruby_event_store-active_record/Gemfile.lock"
- ".github/workflows/ruby_event_store-active_record_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
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
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-browser_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "ruby_event_store-browser/Gemfile.lock"
- ".github/workflows/ruby_event_store-browser_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "ruby_event_store-browser/Gemfile.lock"
- ".github/workflows/ruby_event_store-browser_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-flipper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
- "contrib/ruby_event_store-flipper/**"
- ".github/workflows/ruby_event_store-flipper.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-flipper/**"
- ".github/workflows/ruby_event_store-flipper.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-flipper_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "contrib/ruby_event_store-flipper/Gemfile.lock"
- ".github/workflows/ruby_event_store-flipper_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-flipper/Gemfile.lock"
- ".github/workflows/ruby_event_store-flipper_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
- "contrib/ruby_event_store-newrelic/**"
- ".github/workflows/ruby_event_store-newrelic.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-newrelic/**"
- ".github/workflows/ruby_event_store-newrelic.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-newrelic_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "contrib/ruby_event_store-newrelic/Gemfile.lock"
- ".github/workflows/ruby_event_store-newrelic_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-newrelic/Gemfile.lock"
- ".github/workflows/ruby_event_store-newrelic_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-outbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
- "contrib/ruby_event_store-outbox/**"
- ".github/workflows/ruby_event_store-outbox.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-outbox/**"
- ".github/workflows/ruby_event_store-outbox.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-outbox_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "contrib/ruby_event_store-outbox/Gemfile.lock"
- ".github/workflows/ruby_event_store-outbox_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-outbox/Gemfile.lock"
- ".github/workflows/ruby_event_store-outbox_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-profiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
- "contrib/ruby_event_store-profiler/**"
- ".github/workflows/ruby_event_store-profiler.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-profiler/**"
- ".github/workflows/ruby_event_store-profiler.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-profiler_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "contrib/ruby_event_store-profiler/Gemfile.lock"
- ".github/workflows/ruby_event_store-profiler_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-profiler/Gemfile.lock"
- ".github/workflows/ruby_event_store-profiler_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
- "contrib/ruby_event_store-protobuf/**"
- ".github/workflows/ruby_event_store-protobuf.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-protobuf/**"
- ".github/workflows/ruby_event_store-protobuf.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-protobuf_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ on:
- "contrib/ruby_event_store-protobuf/Gemfile.lock"
- ".github/workflows/ruby_event_store-protobuf_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-protobuf/Gemfile.lock"
- ".github/workflows/ruby_event_store-protobuf_coverage.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
coverage:
runs-on: ubuntu-20.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruby_event_store-rom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ on:
- "contrib/ruby_event_store-rom/**"
- ".github/workflows/ruby_event_store-rom.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
pull_request:
types: [opened, reopened]
paths:
- "contrib/ruby_event_store-rom/**"
- ".github/workflows/ruby_event_store-rom.yml"
- "support/**"
- "!support/bundler/**"
- "!support/ci/**"
jobs:
test:
runs-on: ubuntu-20.04
Expand Down
Loading

0 comments on commit 308def8

Please sign in to comment.