Skip to content

Commit

Permalink
[chore] skip workflows on readme changes (open-telemetry#32458)
Browse files Browse the repository at this point in the history
This is a first attempt at not triggering all CI jobs for README file
changes.

Signed-off-by: Alex Boten <[email protected]>
  • Loading branch information
codeboten committed Apr 16, 2024
1 parent 18946c1 commit 0c8f351
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ on:
- 'releases/**'
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
paths-ignore:
- '**/README.md'
merge_group:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
paths-ignore:
- '**/README.md'
env:
TEST_RESULTS: testbed/tests/results/junit/results.xml
# Make sure to exit early if cache segment download times out after 2 minutes.
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: "CodeQL Analysis"
on:
push:
branches: [main]
paths-ignore:
- '**/README.md'

jobs:
CodeQL-Build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ on:
- main
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
paths-ignore:
- '**/README.md'
pull_request:
paths-ignore:
- '**/README.md'
merge_group:

env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches: [ main ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
paths-ignore:
- '**/README.md'

# Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616
concurrency:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prometheus-compliance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on:
branches: [ main ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
paths-ignore:
- '**/README.md'
pull_request:
paths-ignore:
- '**/README.md'
merge_group:

# Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/telemetrygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ on:
branches: [ main ]
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
paths-ignore:
- '**/README.md'
merge_group:
pull_request:
paths-ignore:
- '**/README.md'
env:
# Make sure to exit early if cache segment download times out after 2 minutes.
# We limit cache download as a whole to 5 minutes.
Expand Down

0 comments on commit 0c8f351

Please sign in to comment.