Skip to content

[radar-push-endpoint] Allow backfill configuration #139

[radar-push-endpoint] Allow backfill configuration

[radar-push-endpoint] Allow backfill configuration #139

Workflow file for this run

name: Pre-commit hooks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions: read-all
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Install devbox
uses: jetify-com/devbox-install-action@v0.11.0
with:
enable-cache: 'true'
- name: Run pre-commit on all files
env:
SKIP: "no-commit-to-branch"
run: devbox run -- pre-commit run --verbose --all-files --show-diff-on-failure
helm-deps-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.9.0
- name: Add Helm repos
run: |
helm repo add radar https://radar-base.github.io/radar-helm-charts
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
- name: Check Helm chart dependencies
run: |
for chart in charts/*; do
if [[ -d "$chart" && -f "$chart/Chart.yaml" ]]; then
echo "Checking dependencies for $chart"
helm repo update
helm dependency update "$chart"
fi
done