CI: schedule an online check for all formulae

master
Sean Molenaar 2022-12-13 14:30:20 +01:00 committed by Sean Molenaar
parent 4ce8a83678
commit 65d4464434
1 changed files with 30 additions and 0 deletions

30
.github/workflows/scheduled.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Scheduled online check
on:
push:
paths:
- .github/workflows/scheduled.yml
schedule:
# Once every day
- cron: "0 1 * * *"
concurrency:
group: scheduled
cancel-in-progress: true
jobs:
audit_online:
if: startsWith( github.repository, 'Homebrew/' )
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04]
steps:
- name: Check out repository
uses: actions/checkout@main
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Check all formulae for missing upstreams etc
run: brew audit --online --tap homebrew/core --skip-style --only github_repository_archived,gitlab_repository_archived,homepage