Remove constraints and run issue tracker, pre-commit and update changelog each push to test them

This commit is contained in:
Jelmer Draaijer 2024-09-16 15:41:15 +02:00
parent 456a4769a9
commit 4b094c63c7
3 changed files with 9 additions and 26 deletions

View File

@ -4,16 +4,9 @@
name: Django Issue Checker name: Django Issue Checker
on: on:
schedule: push:
- cron: "28 5 * * *" branches: ["master", "main"]
# Manual trigger pull_request:
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'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -4,17 +4,15 @@
name: Pre-commit auto-update name: Pre-commit auto-update
on: on:
schedule: push:
- cron: "15 2 * * *" branches: ["master", "main"]
workflow_dispatch: # to trigger manually pull_request:
permissions: permissions:
contents: read contents: read
jobs: jobs:
auto-update: 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: permissions:
contents: write # for peter-evans/create-pull-request to create branch contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR pull-requests: write # for peter-evans/create-pull-request to create a PR

View File

@ -1,17 +1,9 @@
name: Update Changelog name: Update Changelog
on: on:
# Every day at 2am push:
schedule: branches: ["master", "main"]
- cron: "0 2 * * *" pull_request:
# 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'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4