Skip to content

Commit 6832269

Browse files
authored
run matrix build on weekly schedule (#1427)
2 parents 8d383f7 + f063d57 commit 6832269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
name: target (${{ matrix.pretty }},${{ matrix.os }})
127127
runs-on: ${{ matrix.os }}
128128
needs: [shellcheck, test, generate-matrix, check]
129-
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group' || github.event_name == 'issue_comment') && needs.generate-matrix.outputs.matrix != '{}' && needs.generate-matrix.outputs.matrix != '[]' && needs.generate-matrix.outputs.matrix != ''
129+
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group' || github.event_name == 'issue_comment' || github.event_name == 'schedule') && needs.generate-matrix.outputs.matrix != '{}' && needs.generate-matrix.outputs.matrix != '[]' && needs.generate-matrix.outputs.matrix != ''
130130
concurrency:
131131
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.pretty }}
132132
cancel-in-progress: false
@@ -240,7 +240,7 @@ jobs:
240240
password: ${{ secrets.GITHUB_TOKEN }}
241241
- name: Push image to GitHub Container Registry
242242
if: >
243-
(github.event_name == 'push' || github.event_name == 'workflow_dispatch') &&
243+
(github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') &&
244244
steps.prepare-meta.outputs.has-image && (
245245
github.ref == format('refs/heads/{0}', github.event.repository.default_branch) ||
246246
startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)