Skip to content

Commit

Permalink
Check for updates to pre-commit hooks every Sunday
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Jan 29, 2023
1 parent cf18ae8 commit b53049a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 12 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/automation-changenote.yml
Original file line number Diff line number Diff line change
@@ -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
12 changes: 0 additions & 12 deletions .github/workflows/dependabot-changenote.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/pre-commit-update.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions changes/1070.misc.rst
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit b53049a

Please sign in to comment.