Skip to content

Commit

Permalink
Update peter-evans/create-pull-request action to v6 (#48)
Browse files Browse the repository at this point in the history
* Update peter-evans/create-pull-request action to v6

* Update .mega-linter.yml

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: nvuillam <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2024
1 parent ab3ed52 commit b641887
Show file tree
Hide file tree
Showing 5 changed files with 257 additions and 256 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-dependents-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# Create pull request
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
branch: github-dependents-info-auto-update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Create Pull Request with applied fixes
id: cpr
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')
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
commit-message: '[MegaLinter] Apply linters automatic fixes'
Expand Down
1 change: 1 addition & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DISABLE_ERRORS_LINTERS:
- ACTION_ACTIONLINT
SPELL_FILTER_REGEX_EXCLUDE: (github-dependents-info)
DISABLE_LINTERS:
- MARKDOWN_MARKDOWN_LINK_CHECK
- TYPESCRIPT_STANDARD
PRE_COMMANDS:
- command: yarn install --frozen-lockfile
Expand Down
Loading

0 comments on commit b641887

Please sign in to comment.