Skip to content

Commit ca442c9

Browse files
committed
Commit sha is need for diff comparisons
* master is fine for locally checked-out branch * for PRs there's no master label poiting to a specific base branch sha, but there's a sha handle coming from github event Renaming to make more sense describing the actual value.
1 parent d133851 commit ca442c9

18 files changed

+20
-20
lines changed

.github/workflows/aggregate_root_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
RUBY_VERSION: "${{ matrix.ruby_version }}"
4040
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
4141
BUNDLE_WITHOUT: database
42-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
42+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
4343
strategy:
4444
fail-fast: false
4545
matrix:

.github/workflows/minitest-ruby_event_store_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
RUBY_VERSION: "${{ matrix.ruby_version }}"
3030
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
3131
BUNDLE_WITHOUT: database
32-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
32+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
3333
strategy:
3434
fail-fast: false
3535
matrix:

.github/workflows/rails_event_store_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
RUBY_VERSION: "${{ matrix.ruby_version }}"
4040
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
4141
BUNDLE_WITHOUT: database
42-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
42+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
4343
strategy:
4444
fail-fast: false
4545
matrix:

.github/workflows/ruby_event_store-active_record_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
RUBY_VERSION: "${{ matrix.ruby_version }}"
4040
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
4141
BUNDLE_WITHOUT: database
42-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
42+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
4343
strategy:
4444
fail-fast: false
4545
matrix:

.github/workflows/ruby_event_store-browser_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
RUBY_VERSION: "${{ matrix.ruby_version }}"
4040
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
4141
BUNDLE_WITHOUT: database
42-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
42+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
4343
strategy:
4444
fail-fast: false
4545
matrix:

.github/workflows/ruby_event_store-flipper_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
RUBY_VERSION: "${{ matrix.ruby_version }}"
3030
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
3131
BUNDLE_WITHOUT: database
32-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
32+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
3333
strategy:
3434
fail-fast: false
3535
matrix:

.github/workflows/ruby_event_store-newrelic_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
RUBY_VERSION: "${{ matrix.ruby_version }}"
3030
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
3131
BUNDLE_WITHOUT: database
32-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
32+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
3333
strategy:
3434
fail-fast: false
3535
matrix:

.github/workflows/ruby_event_store-outbox_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
RUBY_VERSION: "${{ matrix.ruby_version }}"
3030
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
3131
BUNDLE_WITHOUT: database
32-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
32+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
3333
strategy:
3434
fail-fast: false
3535
matrix:

.github/workflows/ruby_event_store-profiler_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
RUBY_VERSION: "${{ matrix.ruby_version }}"
3030
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
3131
BUNDLE_WITHOUT: database
32-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
32+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
3333
strategy:
3434
fail-fast: false
3535
matrix:

.github/workflows/ruby_event_store-protobuf_mutate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
RUBY_VERSION: "${{ matrix.ruby_version }}"
3030
BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}"
3131
BUNDLE_WITHOUT: database
32-
BASE_REF: "${{ github.base_ref || 'HEAD~1' }}"
32+
SINCE_SHA: "${{ github.event.pull_request.base.sha || 'HEAD~1' }}"
3333
strategy:
3434
fail-fast: false
3535
matrix:

0 commit comments

Comments
 (0)