diff --git a/.github/config/megalinter.yaml b/.github/config/megalinter.yaml index 60cfc09..143384b 100644 --- a/.github/config/megalinter.yaml +++ b/.github/config/megalinter.yaml @@ -26,6 +26,19 @@ ENABLE: - YAML - REPOSITORY + +# Reporter configuration + +# Grafana Dashboard Connections - GitHub Organization secrets +API_REPORTER: true +API_REPORTER_URL: ${{ secrets.API_REPORTER_URL }} +API_REPORTER_BASIC_AUTH_USERNAME: ${{ secrets.API_REPORTER_BASIC_AUTH_USERNAME }} +API_REPORTER_BASIC_AUTH_PASSWORD: ${{ secrets.API_REPORTER_BASIC_AUTH_PASSWORD }} +API_REPORTER_METRICS_URL: ${{ secrets.API_REPORTER_METRICS_URL }} +API_REPORTER_METRICS_BASIC_AUTH_USERNAME: ${{ secrets.API_REPORTER_METRICS_BASIC_AUTH_USERNAME }} +API_REPORTER_METRICS_BASIC_AUTH_PASSWORD: ${{ secrets.API_REPORTER_METRICS_BASIC_AUTH_PASSWORD }} +API_REPORTER_DEBUG: false + # Linter specific configuration CLOJURE_CLJ_KONDO_CONFIG_FILE: ".github/config/clj-kondo-ci-config.edn" diff --git a/.github/workflows/megalinter.yaml b/.github/workflows/megalinter.yaml index 558d6fd..6bde29c 100644 --- a/.github/workflows/megalinter.yaml +++ b/.github/workflows/megalinter.yaml @@ -21,16 +21,6 @@ jobs: megalinter: name: MegaLinter runs-on: ubuntu-latest - env: - # Grafana Dashboard Connections - GitHub Organization secrets - API_REPORTER: true - API_REPORTER_URL: ${{ secrets.API_REPORTER_URL }} - API_REPORTER_BASIC_AUTH_USERNAME: ${{ secrets.API_REPORTER_BASIC_AUTH_USERNAME }} - API_REPORTER_BASIC_AUTH_PASSWORD: ${{ secrets.API_REPORTER_BASIC_AUTH_PASSWORD }} - API_REPORTER_METRICS_URL: ${{ secrets.API_REPORTER_METRICS_URL }} - API_REPORTER_METRICS_BASIC_AUTH_USERNAME: ${{ secrets.API_REPORTER_METRICS_BASIC_AUTH_USERNAME }} - API_REPORTER_METRICS_BASIC_AUTH_PASSWORD: ${{ secrets.API_REPORTER_METRICS_BASIC_AUTH_PASSWORD }} - API_REPORTER_DEBUG: false steps: - run: echo "🚀 Job automatically triggered by ${{ github.event_name }}" - run: echo "🐧 Job running on ${{ runner.os }} server"