diff --git a/.github/workflows/automation-changenote.yml b/.github/workflows/automation-changenote.yml new file mode 100644 index 000000000..d5aec0d55 --- /dev/null +++ b/.github/workflows/automation-changenote.yml @@ -0,0 +1,13 @@ +name: Automation Change Note + +on: + push: + branches: + - 'dependabot/**' + - 'autoupdates/pre-commit' + +jobs: + changenote: + name: Automation Change Note + uses: beeware/.github/.github/workflows/automation-changenote.yml@main + secrets: inherit diff --git a/.github/workflows/dependabot-changenote.yml b/.github/workflows/dependabot-changenote.yml deleted file mode 100644 index 17848bc9e..000000000 --- a/.github/workflows/dependabot-changenote.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Dependabot Change Note - -on: - push: - branches: - - 'dependabot/**' - -jobs: - changenote: - name: Dependabot Change Note - uses: beeware/.github/.github/workflows/dependabot-changenote.yml@main - secrets: inherit diff --git a/.github/workflows/pre-commit-update.yml b/.github/workflows/pre-commit-update.yml new file mode 100644 index 000000000..d2d46793d --- /dev/null +++ b/.github/workflows/pre-commit-update.yml @@ -0,0 +1,12 @@ +name: Update pre-commit + +on: + schedule: + cron: "0 20 * * SUN" # Sunday @ 2000 UTC + workflow_dispatch: + +jobs: + pre-commit-update: + name: Update pre-commit + uses: beeware/.github/.github/workflows/pre-commit-update.yml@main + secrets: inherit diff --git a/changes/1070.misc.rst b/changes/1070.misc.rst new file mode 100644 index 000000000..6b137cfc8 --- /dev/null +++ b/changes/1070.misc.rst @@ -0,0 +1 @@ +A GitHub workflow now runs every Sunday at 2000 UTC to check for updates to ``pre-commit`` hooks and commits them to a new PR.