Skip to content

Commit 5ddaf81

Browse files
dev: megalinter top level env for api reporter
1 parent 8da8197 commit 5ddaf81

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/config/megalinter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ SHOW_ELAPSED_TIME: true
8989
FILEIO_REPORTER: false
9090

9191
# Grafana Dashboard Connections - GitHub Organization secrets
92-
API_REPORTER_DEBUG: true
92+
# API_REPORTER_DEBUG: true
9393

9494
# ------------------------
9595

.github/workflows/megalinter.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ jobs:
2121
megalinter:
2222
name: MegaLinter
2323
runs-on: ubuntu-latest
24+
env:
25+
# Grafana Dashboard Connections - GitHub Organization secrets
26+
API_REPORTER: true
27+
API_REPORTER_URL: ${{ secrets.API_REPORTER_URL }}
28+
API_REPORTER_BASIC_AUTH_USERNAME: ${{ secrets.API_REPORTER_BASIC_AUTH_USERNAME }}
29+
API_REPORTER_BASIC_AUTH_PASSWORD: ${{ secrets.API_REPORTER_BASIC_AUTH_PASSWORD }}
30+
API_REPORTER_METRICS_URL: ${{ secrets.API_REPORTER_METRICS_URL }}
31+
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 }}
32+
API_REPORTER_DEBUG: true
2433
steps:
2534
- run: echo "🚀 Job automatically triggered by ${{ github.event_name }}"
2635
- run: echo "🐧 Job running on ${{ runner.os }} server"

0 commit comments

Comments
 (0)