diff --git a/.github/workflows/django-issue-checker.yml b/.github/workflows/django-issue-checker.yml index afbd1ead1..a757edca3 100644 --- a/.github/workflows/django-issue-checker.yml +++ b/.github/workflows/django-issue-checker.yml @@ -4,16 +4,9 @@ name: Django Issue Checker on: - schedule: - - cron: "28 5 * * *" - # Manual trigger - workflow_dispatch: - -jobs: - issue-checker: - # Disables this workflow from running in a repository that is not part of the indicated organization/user - if: github.repository_owner == 'cookiecutter' - + push: + branches: ["master", "main"] + pull_request: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index ebd092859..6baf9fd49 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -4,17 +4,15 @@ name: Pre-commit auto-update on: - schedule: - - cron: "15 2 * * *" - workflow_dispatch: # to trigger manually + push: + branches: ["master", "main"] + pull_request: permissions: contents: read jobs: auto-update: - # Disables this workflow from running in a repository that is not part of the indicated organization/user - if: github.repository_owner == 'cookiecutter' permissions: contents: write # for peter-evans/create-pull-request to create branch pull-requests: write # for peter-evans/create-pull-request to create a PR diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index b96013832..674e71cc1 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -1,17 +1,9 @@ name: Update Changelog on: - # Every day at 2am - schedule: - - cron: "0 2 * * *" - # Manual trigger - workflow_dispatch: - -jobs: - update: - # Disables this workflow from running in a repository that is not part of the indicated organization/user - if: github.repository_owner == 'cookiecutter' - + push: + branches: ["master", "main"] + pull_request: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4