File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,3 +39,4 @@ But you might still need to adapt your code:
3939### Cookiecutter template
4040
4141- mkdocstrings: Move ` paths ` key to the right section in ` mkdocs.yml ` .
42+ - Migration script: Fix invalid YAML syntax in Dependabot workflow template.
Original file line number Diff line number Diff line change @@ -48,7 +48,8 @@ def create_dependabot_auto_merge_workflow() -> None:
4848 workflow_dir = Path (".github" ) / "workflows"
4949 workflow_dir .mkdir (parents = True , exist_ok = True )
5050
51- workflow_content = """name: Auto-merge Dependabot PR
51+ workflow_content = """\
52+ name: Auto-merge Dependabot PR
5253
5354on:
5455 pull_request:
@@ -63,16 +64,14 @@ def create_dependabot_auto_merge_workflow() -> None:
6364 runs-on: ubuntu-latest
6465 steps:
6566 - name: Auto-merge Dependabot PR
66- uses: >-
67- frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1
68-
67+ uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2
6968 with:
7069 github-token: ${{ secrets.GITHUB_TOKEN }}
7170 dependency-type: 'all'
7271 auto-merge: 'true'
7372 merge-method: 'merge'
7473 add-label: 'tool:auto-merged'
75- """
74+ """ # noqa: E501
7675
7776 workflow_file = workflow_dir / "auto-dependabot.yaml"
7877 workflow_file .write_text (workflow_content , encoding = "utf-8" )
You can’t perform that action at this time.
0 commit comments