Skip to content

Github repo and issue stats collection #60339

Github repo and issue stats collection

Github repo and issue stats collection #60339

name: Github repo and issue stats collection
on:
schedule:
- cron: "*/30 * * * *"
jobs:
main:
if: github.owner == "grafana"

Check failure on line 8 in .github/workflows/metrics-collector.yml

View workflow run for this annotation

GitHub Actions / Github repo and issue stats collection

Invalid workflow file

The workflow is not valid. .github/workflows/metrics-collector.yml (Line: 8, Col: 9): Unexpected symbol: '"grafana"'. Located at position 17 within expression: github.owner == "grafana"
runs-on: ubuntu-latest
steps:
- name: Checkout Actions
uses: actions/checkout@v3
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: main
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run metrics collector
uses: ./actions/metrics-collector
with:
metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}