Skip to content

Reuse MegaLinter autofix PR branch#2041

Merged
FlorianPfaff merged 1 commit into
mainfrom
reuse-megalinter-fix-pr
May 12, 2026
Merged

Reuse MegaLinter autofix PR branch#2041
FlorianPfaff merged 1 commit into
mainfrom
reuse-megalinter-fix-pr

Conversation

@FlorianPfaff
Copy link
Copy Markdown
Owner

Summary

  • change the MegaLinter auto-fix PR branch from megalinter-fixes-${{ github.run_id }} to the stable megalinter-fixes
  • align the created branch with the existing bot-auto-merge workflow condition

With a stable branch, peter-evans/create-pull-request updates the existing open auto-fix PR for that branch instead of creating a new PR for every workflow run.

Verification

  • python -c "import yaml, pathlib; [yaml.safe_load(pathlib.Path(p).read_text()) for p in ['.github/workflows/mega-linter.yml', '.github/workflows/bot-auto-merge.yml']]; print('yaml ok')"
  • git diff --check

@FlorianPfaff FlorianPfaff merged commit 53aae7c into main May 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant