From a33729ccae2fee76d1eb2676fa135802a224c14e Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Wed, 1 Feb 2023 22:04:18 -0500 Subject: [PATCH 1/2] Specify source of `pre-commit` in workflow --- .github/workflows/pre-commit-update.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pre-commit-update.yml b/.github/workflows/pre-commit-update.yml index 2bc6a36f5a..bd6b665196 100644 --- a/.github/workflows/pre-commit-update.yml +++ b/.github/workflows/pre-commit-update.yml @@ -10,3 +10,5 @@ jobs: name: Update pre-commit uses: beeware/.github/.github/workflows/pre-commit-update.yml@main secrets: inherit + with: + pre-commit-source: './core[dev]' From 691b49e44686521520051f345b9a4b47443888fe Mon Sep 17 00:00:00 2001 From: Russell Martin Date: Wed, 1 Feb 2023 22:07:28 -0500 Subject: [PATCH 2/2] Add changenote. --- changes/1765.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/1765.misc.rst diff --git a/changes/1765.misc.rst b/changes/1765.misc.rst new file mode 100644 index 0000000000..a69b7d022c --- /dev/null +++ b/changes/1765.misc.rst @@ -0,0 +1 @@ +Updated GitHub workflow that updates ``pre-commit`` hooks to specify how to install ``pre-commit``.