Skip to content

Commit

Permalink
ci: get repos from vars
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Jul 18, 2024
1 parent 133c1b4 commit c9237b9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/check-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,12 @@ on:
# - cron: "15 4,5 * * *"

jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
outputs:
scheduled-repos: ${{ secrets.SCHEDULED_REPOS }}
gh-token: ${{ secrets.GH_TOKEN }}

lint:
uses: singnet/das/.github/workflows/invoke-workflow.yml@feat/check-repos
with:
workflow: ${{ matrix.repo.name }}
repo: ${{ matrix.repo.repo }}
needs: setup
secrets: inherit
strategy:
matrix:
repo: ${{ fromJson(needs.setup.outputs.scheduled-repos) }}
repo: ${{ fromJson(vars.SCHEDULED_REPOS) }}

0 comments on commit c9237b9

Please sign in to comment.