Skip to content

Commit

Permalink
[chore] dependabot ignore rule for prometheus v3 (#5627)
Browse files Browse the repository at this point in the history
* [chore] dependabot ignore rule for prometheus v3

* make gendependabot

* fix script
  • Loading branch information
jinja2 authored Nov 19, 2024
1 parent eb5e278 commit 79aa721
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ updates:
- dependency-name: "github.com/open-telemetry/*"
- dependency-name: "github.com/openshift/*"
versions: ["v3.9.0+incompatible"]
- dependency-name: "github.com/prometheus/prometheus"
versions:
- ">=0.300.0"
schedule:
interval: "weekly"
- package-ecosystem: "gomod"
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/scripts/gendependabot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ EOH
- dependency-name: "github.com/openshift/*"
versions: ["v3.9.0+incompatible"]
EOH
if [ ${dir} == / ]; then
cat <<EOH >&1
- dependency-name: "github.com/prometheus/prometheus"
versions:
- ">=0.300.0"
EOH
fi
;;

esac
}

Expand Down

0 comments on commit 79aa721

Please sign in to comment.