Skip to content

Commit 1ec0275

Browse files
authored
Fix dependabot-auto-approve version (#510)
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.
2 parents bf3f395 + 975efac commit 1ec0275

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/auto-dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
private-key: ${{ secrets.FREQUENZ_AUTO_DEPENDABOT_APP_PRIVATE_KEY }}
3030

3131
- name: Auto-merge Dependabot PR
32-
uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2
32+
uses: frequenz-floss/dependabot-auto-approve@a115bc7e0194c08f876493f311ec6f4de53f984e # v1.4.0
3333
with:
3434
github-token: ${{ steps.app-token.outputs.token }}
3535
dependency-type: 'all'

cookiecutter/migrate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def migrate_auto_dependabot_token() -> None:
339339
filepath = Path(".github") / "workflows" / "auto-dependabot.yaml"
340340
# This is separated only to avoid flake8 errors about line length
341341
dependabot_auto_approve_version = (
342-
"3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2"
342+
"a115bc7e0194c08f876493f311ec6f4de53f984e # v1.4.0"
343343
)
344344
desired_content = (
345345
r"""name: Auto-merge Dependabot PR

0 commit comments

Comments
 (0)