Skip to content

Commit

Permalink
ci: add check repos workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Jul 17, 2024
1 parent 4024c07 commit f2e38b9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check-repos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Daily repo check

on:
push:
branches:
- feat/check-repos
# schedule:
# - cron: "15 4,5 * * *"

jobs:
setup:
runs-on: ubuntu-latest
outputs:
scheduled-repos: ${{ secrets.SCHEDULED_REPOS }}

lint:
runs-on: ubuntu-latest
needs: setup
strategy:
matrix:
repo: ${{ fromJson(needs.outputs.scheduled-repos) }}
steps:
- name: Invoke workflow without inputs. Wait for result
uses: the-actions-org/workflow-dispatch@v4
with:
workflow: ${{ matrix.repo.name }}
repo: ${{ matrix.repo.repo }}
token: ${{ secrets.GH_TOKEN }}

0 comments on commit f2e38b9

Please sign in to comment.