diff --git a/.github/workflows/guix-build.yml b/.github/workflows/guix-build.yml index ba2f0a35e268..b0c7911ef394 100644 --- a/.github/workflows/guix-build.yml +++ b/.github/workflows/guix-build.yml @@ -9,13 +9,17 @@ on: pull_request_target: types: [labeled] push: + schedule: + # Run weekly at 3 AM UTC on Sunday on the default branch + - cron: '0 3 * * 0' jobs: build-image: runs-on: ubuntu-24.04-arm if: | (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || vars.RUN_GUIX_ON_ALL_PUSH == 'true')) || - contains(github.event.pull_request.labels.*.name, 'guix-build') + contains(github.event.pull_request.labels.*.name, 'guix-build') || + github.event_name == 'schedule' outputs: image-tag: ${{ steps.prepare.outputs.image-tag }} repo-name: ${{ steps.prepare.outputs.repo-name }}