diff --git a/.github/workflows/actions-usage.yml b/.github/workflows/actions-usage.yml new file mode 100644 index 000000000..bcc510e14 --- /dev/null +++ b/.github/workflows/actions-usage.yml @@ -0,0 +1,18 @@ +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 + steps: + - name: GitHub Actions Usage Audit + uses: fergusmacd/github-action-usage@v0.9.2 + 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