mirror of
https://github.com/imjasonh/gcp-metrics-action
synced 2026-07-18 06:36:35 +00:00
ignore major otel dep updates
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
d1aa903d88
commit
6c7eba7848
3 changed files with 33 additions and 1 deletions
7
.github/dependabot.yml
vendored
7
.github/dependabot.yml
vendored
|
|
@ -11,10 +11,17 @@ updates:
|
|||
opentelemetry:
|
||||
patterns:
|
||||
- "@opentelemetry/*"
|
||||
update-types:
|
||||
- "minor"
|
||||
- "patch"
|
||||
# Group Google Cloud packages together
|
||||
google-cloud:
|
||||
patterns:
|
||||
- "@google-cloud/*"
|
||||
ignore:
|
||||
# Ignore OpenTelemetry major versions (breaking changes)
|
||||
- dependency-name: "@opentelemetry/*"
|
||||
update-types: ["version-update:semver-major"]
|
||||
|
||||
# Monitor GitHub Actions
|
||||
- package-ecosystem: "github-actions"
|
||||
|
|
|
|||
24
.github/workflows/pre-commit.yml
vendored
Normal file
24
.github/workflows/pre-commit.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: pre-commit
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
- run: npm install
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- run: pip install pre-commit
|
||||
- run: pre-commit run --all-file
|
||||
s
|
||||
Loading…
Add table
Add a link
Reference in a new issue