From 8c99cab41359c089ca8fcc87eb82ac01a2024dbe Mon Sep 17 00:00:00 2001 From: Fred Clausen <43556888+fredclausen@users.noreply.github.com> Date: Sun, 23 Jun 2024 02:14:35 -0600 Subject: [PATCH] update pre-commit actions --- .github/workflows/pre-commit-updates.yaml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pre-commit-updates.yaml b/.github/workflows/pre-commit-updates.yaml index ce23ae3..bfd1981 100644 --- a/.github/workflows/pre-commit-updates.yaml +++ b/.github/workflows/pre-commit-updates.yaml @@ -6,19 +6,13 @@ on: - cron: 0 0 * * 0 jobs: - update: + pre-commit-update: runs-on: ubuntu-latest + name: Updates steps: - - uses: actions/checkout@v4.1.7 + - name: Checkout + uses: actions/checkout@v4.1.7 + - name: Update pre-commit hooks + uses: brokenpip3/action-pre-commit-update@0.0.1 with: - fetch-depth: 0 - - uses: vrslev/pre-commit-autoupdate@v1.0.0 - - uses: peter-evans/create-pull-request@v6.1.0 - with: - branch: pre-commit-autoupdate - title: "chore(deps): Update pre-commit hooks" - commit-message: "chore(deps): Update pre-commit hooks" - body: Update pre-commit hooks - labels: dependencies - delete-branch: True - assignees: "fredclausen" + github-token: ${{ secrets.GITHUB_TOKEN }}