github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/.github/workflows/metrics-collector.yml (about)

     1  name: Github repo and issue stats collection
     2  on:
     3    schedule:
     4      - cron: "*/30 * * * *"
     5  
     6  jobs:
     7    main:
     8      runs-on: ubuntu-latest
     9      steps:
    10        - name: Checkout Actions
    11          uses: actions/checkout@v3
    12          with:
    13            repository: "grafana/grafana-github-actions"
    14            path: ./actions
    15            ref: main
    16        - name: Install Actions
    17          run: npm install --production --prefix ./actions
    18        - name: Run metrics collector
    19          uses: ./actions/metrics-collector
    20          with:
    21            metricsWriteAPIKey: ${{secrets.GRAFANA_MISC_STATS_API_KEY}}
    22            token: ${{secrets.GH_BOT_ACCESS_TOKEN}}