mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: use GITHUB_TOKEN
in metrics-collector action (#80795)
use GITHUB_TOKEN
This commit is contained in:
parent
484ced521f
commit
0a651a90e9
4
.github/workflows/metrics-collector.yml
vendored
4
.github/workflows/metrics-collector.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
id: check
|
||||
shell: bash
|
||||
run: |
|
||||
if [ -n "${{ (secrets.GRAFANA_MISC_STATS_API_KEY != '' && secrets.GH_BOT_ACCESS_TOKEN != '') || '' }}" ]; then
|
||||
if [ -n "${{ (secrets.GRAFANA_MISC_STATS_API_KEY != '') || '' }}" ]; then
|
||||
echo "has-secrets=1" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
@ -46,5 +46,5 @@ jobs:
|
||||
uses: ./actions/metrics-collector
|
||||
with:
|
||||
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
|
||||
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
|
||||
token: ${{secrets.GITHUB_TOKEN}}
|
||||
configPath: "metrics-collector"
|
||||
|
Loading…
Reference in New Issue
Block a user