-
Notifications
You must be signed in to change notification settings - Fork 70
44 lines (39 loc) · 912 Bytes
/
sweep.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
38
39
40
41
42
43
44
name: Sweep
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
sweep:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
matrix:
aiven_project_name_suffix: [
'',
'-2',
'-3',
'-4',
'-5',
]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: nick-invision/retry@v3
if: always()
with:
timeout_minutes: 15
max_attempts: 15
command: make sweep
env:
AIVEN_TOKEN: ${{ secrets.AIVEN_TOKEN }}
AIVEN_PROJECT_NAME: ${{ secrets.AIVEN_PROJECT_NAME_PREFIX }}${{ matrix.aiven_project_name_suffix }}