Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ jobs:
if: github.ref == 'refs/heads/main' && steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
# Prefer the scoped workflow token over a user PAT. In the failing run,
# the auto-fix PR push failed with a 403 despite job-level write permissions.
token: ${{ github.token }}
commit-message: "[MegaLinter] Apply linters automatic fixes"
title: "[MegaLinter] Apply linters automatic fixes"
branch: megalinter-fixes
# Avoid force-updating a stale or diverged auto-fix branch.
branch: megalinter-fixes-${{ github.run_id }}
labels: bot
base: main

Expand Down
Loading