diff --git a/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml b/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml index ef453df..ebced5d 100644 --- a/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml +++ b/{{ cookiecutter.package_name }}/.github/workflows/sub_package_update.yml @@ -120,7 +120,7 @@ jobs: **To run the CI on this pull request you will need to close it and reopen it.** report-fail: - if: failure() + if: {{ "${{ failure() && github.event_name == 'schedule' }}" }} needs: [update] runs-on: ubuntu-latest permissions: