-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (35 loc) · 1.03 KB
/
schedule-1-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Scheduled Checks
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # once a month
jobs:
setup:
name: Setup Tasks
runs-on: ubuntu-latest
outputs:
tags: ${{ steps.get-released-config.outputs.tags }}
steps:
- uses: actions/checkout@v4
with:
ref: main
- name: Get all released configs
id: get-released-config
run: echo "tags=$(jq --compact-output --raw-output '.tags' config/released-configs.json)" >> $GITHUB_OUTPUT
repro-ci:
# We use this reusable workflow with a matrix strategy rather than calling repro-ci.yml, as
# we may want to do config-branch-specific tasks after the matrixed repro-ci.yml has completed.
needs:
- setup
strategy:
fail-fast: false
matrix:
config-tag: ${{ fromJson(needs.setup.outputs.tags) }}
uses: ./.github/workflows/schedule-2-start.yml
with:
config-tag: ${{ matrix.config-tag }}
secrets: inherit
permissions:
checks: write
contents: write
issues: write