From 975efac31231d6ad125bf60e3714e3da4c397615 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 18 Feb 2026 14:51:33 +0100 Subject: [PATCH] Fix dependabot-auto-approve version The migration script was using an old version that didn't support the `pull_request_target` trigger event. We also regenerate the local auto-dependabot workflow. Signed-off-by: Leandro Lucarella --- .github/workflows/auto-dependabot.yaml | 2 +- cookiecutter/migrate.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-dependabot.yaml b/.github/workflows/auto-dependabot.yaml index a0c34228..696219b0 100644 --- a/.github/workflows/auto-dependabot.yaml +++ b/.github/workflows/auto-dependabot.yaml @@ -29,7 +29,7 @@ jobs: private-key: ${{ secrets.FREQUENZ_AUTO_DEPENDABOT_APP_PRIVATE_KEY }} - name: Auto-merge Dependabot PR - uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2 + uses: frequenz-floss/dependabot-auto-approve@a115bc7e0194c08f876493f311ec6f4de53f984e # v1.4.0 with: github-token: ${{ steps.app-token.outputs.token }} dependency-type: 'all' diff --git a/cookiecutter/migrate.py b/cookiecutter/migrate.py index 02068d2a..a4c5ae08 100644 --- a/cookiecutter/migrate.py +++ b/cookiecutter/migrate.py @@ -339,7 +339,7 @@ def migrate_auto_dependabot_token() -> None: filepath = Path(".github") / "workflows" / "auto-dependabot.yaml" # This is separated only to avoid flake8 errors about line length dependabot_auto_approve_version = ( - "3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2" + "a115bc7e0194c08f876493f311ec6f4de53f984e # v1.4.0" ) desired_content = ( r"""name: Auto-merge Dependabot PR