Skip to content

Commit

Permalink
ml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Nov 26, 2023
1 parent 220c795 commit 2e5f46c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
# Git Checkout
- name: Checkout Code
Expand Down Expand Up @@ -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')
Expand All @@ -83,4 +85,4 @@ jobs:
uses: stefanzweifel/[email protected]
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"

0 comments on commit 2e5f46c

Please sign in to comment.