Skip to content

Commit fc8fbbe

Browse files
committed
No longer checking github actions so that PR for linter results can be created without PAT
1 parent 3e99934 commit fc8fbbe

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/mega-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
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')
111111
uses: peter-evans/create-pull-request@v7
112112
with:
113-
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
113+
token: ${{ secrets.GITHUB_TOKEN }}
114114
commit-message: "[MegaLinter] Apply linters automatic fixes"
115115
title: "[MegaLinter] Apply linters automatic fixes"
116116
branch: megalinter-fixes

.mega-linter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ DISABLE_LINTERS:
1515
- SPELL_LYCHEE # Takes pretty long
1616
- REPOSITORY_GRYPE # Throws false positives
1717

18-
FILTER_REGEX_EXCLUDE: "pyrecest/_backend/*"
18+
EXCLUDED_DIRECTORIES:
19+
- ".github"
20+
- "_backend/"

0 commit comments

Comments
 (0)