Use fine-grained permissions for kubeletstats receiver #4398
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint Charts | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup | |
| uses: ./.github/actions/setup | |
| with: | |
| create-kind-cluster: "false" | |
| helm-version: "v3.14.4" | |
| - name: Run chart-testing (lint) | |
| run: "ct lint --target-branch main | |
| --chart-repos opentelemetry-collector=https://open-telemetry.github.io/opentelemetry-helm-charts | |
| --chart-repos prometheus=https://prometheus-community.github.io/helm-charts | |
| --chart-repos grafana=https://grafana.github.io/helm-charts | |
| --chart-repos jaeger=https://jaegertracing.github.io/helm-charts | |
| --chart-repos opensearch=https://opensearch-project.github.io/helm-charts" | |
| - name: Run make check-examples | |
| run: make check-examples |