Github Actions Usage Stats #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Github Actions Usage Stats | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 3 * * *" # Runs at 03:00 AM (UTC) every day | |
jobs: | |
gha-usage-minutes-report: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: GitHub Actions Usage Audit | |
uses: fergusmacd/[email protected] | |
with: | |
organisation: loculus-project | |
gitHubAPIKey: ${{ secrets.ORG_READ }} # Token requires read access for actions | |
raisealarmremainingminutes: -100000 # Negative so that it doesn't raise alarm when running out of free minutes | |
skipReposWithoutUsage: true |