Skip to content

Commit 9f6f6ec

Browse files
authored
chore(ci): minor fixes to workflows post merge queue enabling (vectordotdev#17462)
- fix files changed detection logic for aws integration tests - fix job run logic in integration tests workflow - restrict spell check workflow to only run on pull requests (not a push to any branch)
1 parent c425006 commit 9f6f6ec

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.github/workflows/changes.yml

+12-5
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,20 @@ jobs:
211211
- "src/sinks/appsignal/**"
212212
- "src/sinks/util/**"
213213
aws:
214-
- "src/aws_**"
215-
- "src/internal_events/aws_**"
216-
- "src/sources/aws_**"
214+
- "src/aws/**"
215+
- "src/internal_events/aws*"
216+
- "src/sources/aws_ecs_metrics/**"
217+
- "src/sources/aws_kinesis_firehose/**"
218+
- "src/sources/aws_s3/**"
219+
- "src/sources/aws_sqs/**"
217220
- "src/sources/util/**"
218-
- "src/sinks/aws_**"
221+
- "src/sinks/aws_cloudwatch_logs/**"
222+
- "src/sinks/aws_cloudwatch_metrics/**"
223+
- "src/sinks/aws_kinesis/**"
224+
- "src/sinks/aws_s3/**"
225+
- "src/sinks/aws_sqs/**"
219226
- "src/sinks/util/**"
220-
- "src/transforms/aws_**"
227+
- "src/transforms/aws*"
221228
axiom:
222229
- "src/sinks/axiom.rs"
223230
- "src/sinks/util/**"

.github/workflows/integration.yml

-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ env:
3434
jobs:
3535

3636
changes:
37-
if: github.event_name == 'pull_request'
3837
uses: ./.github/workflows/changes.yml
3938
with:
4039
base_ref: ${{ github.event.pull_request.base.ref }}
@@ -43,7 +42,6 @@ jobs:
4342

4443
# Calls the Integration Test workflow for each integration that was detected to have files changed that impact it.
4544
integration-matrix:
46-
if: always()
4745
uses: ./.github/workflows/integration-test.yml
4846
with:
4947
if: ${{ matrix.run.if }}

.github/workflows/regression.yml

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
all_changed:
6262
- added|deleted|modified: "**"
6363
ignore:
64+
- "./.github/**"
65+
- "./.gitignore"
6466
- "distribution/**"
6567
- "rust-doc/**"
6668
- "docs/**"

.github/workflows/spelling.yml

-5
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ name: Check Spelling
5757
# ... otherwise adjust the `with:` as you wish
5858

5959
on:
60-
push:
61-
branches:
62-
- "**"
63-
tags-ignore:
64-
- "**"
6560
pull_request_target:
6661
branches:
6762
- "**"

0 commit comments

Comments
 (0)