From 2e5f46c94314a200950888eb053aadb1697da36b Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Sun, 26 Nov 2023 11:38:46 +0100 Subject: [PATCH] ml workflow --- .github/workflows/mega-linter.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 50ad00c..78f3398 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -27,6 +27,8 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + issues: write + pull-requests: write steps: # Git Checkout - name: Checkout Code @@ -65,8 +67,8 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} - commit-message: '[MegaLinter] Apply linters automatic fixes' - title: '[MegaLinter] Apply linters automatic fixes' + commit-message: "[MegaLinter] Apply linters automatic fixes" + title: "[MegaLinter] Apply linters automatic fixes" labels: bot - name: Create PR output if: 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') @@ -83,4 +85,4 @@ jobs: uses: stefanzweifel/git-auto-commit-action@v4.12.0 with: branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }} - commit_message: '[MegaLinter] Apply linters fixes' + commit_message: "[MegaLinter] Apply linters fixes"