diff --git a/.github/workflows/test-action-build-html.yml b/.github/workflows/test-action-build-html.yml index eb103a1..23840de 100644 --- a/.github/workflows/test-action-build-html.yml +++ b/.github/workflows/test-action-build-html.yml @@ -12,6 +12,9 @@ on: - .test/** - .github/workflows/test-action-build-html.yml - actions/ansible-docs-build-html/** + # Run once per week (Tuesday at 04:00 UTC) + schedule: + - cron: '0 4 * * 2' jobs: tests: diff --git a/.github/workflows/test-action-build-init.yml b/.github/workflows/test-action-build-init.yml index 3683f81..9c11f66 100644 --- a/.github/workflows/test-action-build-init.yml +++ b/.github/workflows/test-action-build-init.yml @@ -11,6 +11,9 @@ on: - .test/** - .github/workflows/test-action-build-init.yml - actions/ansible-docs-build-init/** + # Run once per week (Tuesday at 05:00 UTC) + schedule: + - cron: '0 5 * * 2' jobs: tests: @@ -116,7 +119,7 @@ jobs: ${{ matrix.skip-init }} || ${{ matrix.provide-link-targets == '' }} || grep -- '^:orphan:$' rst/_targets.rst || exit 1 ${{ matrix.skip-init }} || ${{ matrix.provide-link-targets == '' }} || grep -- '^.. _outside_reference_1:$' rst/_targets.rst || exit 1 ${{ matrix.skip-init }} || ${{ matrix.provide-link-targets == '' }} || grep -- '^.. _outside_reference_2:$' rst/_targets.rst || exit 1 - ${{ matrix.skip-init }} || ${{ matrix.provide-link-targets == '' }} || (pip install rstcheck && rstcheck --report warning rst/_targets.rst) || exit 1 + ${{ matrix.skip-init }} || ${{ matrix.provide-link-targets == '' }} || (pip install --upgrade rstcheck && rstcheck --report-level warning rst/_targets.rst) || exit 1 # check if provide-link-targets was not used when being empty # short circuit if skip-init is 'true' or matrix.provide-link-targets is not empty