diff --git a/.github/config/megalinter.yaml b/.github/config/megalinter.yaml index 8914499..60cfc09 100644 --- a/.github/config/megalinter.yaml +++ b/.github/config/megalinter.yaml @@ -15,6 +15,7 @@ PARALLEL: true # ENABLE specific linters, all other linters automatically disabled ENABLE: + - API_REPORTER - CLOJURE - CREDENTIALS - DOCKERFILE diff --git a/.github/workflows/megalinter.yaml b/.github/workflows/megalinter.yaml index 6bde29c..558d6fd 100644 --- a/.github/workflows/megalinter.yaml +++ b/.github/workflows/megalinter.yaml @@ -21,6 +21,16 @@ 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" diff --git a/CHANGELOG.org b/CHANGELOG.org index 1a72a60..e59d132 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -5,6 +5,7 @@ * 2024-09-09 ** Added - dev: megalinter-upgrade task to upgrade config +- dev: megalinter grafana dashboard connections via github organization secrets ** Updated - dev: update megalinter config to version 8