Skip to content

chore(deps): pin dependencies #2087

chore(deps): pin dependencies

chore(deps): pin dependencies #2087

Workflow file for this run

# This file is @generated by <https://github.com/liblaf/copier-shared>.
# DO NOT EDIT!
# ref: <https://github.com/oxsecurity/megalinter/blob/main/mega-linter-runner/generators/mega-linter/templates/mega-linter.yml>
# ref: <https://megalinter.io>
name: MegaLinter
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 1
jobs:
mega-linter:
name: MegaLinter
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
environment:
name: MegaLinter
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@30c85b7c83d5db558c3113c5a7297837f6fe4904 # v1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
ref: ${{ github.head_ref || github.ref }}
- id: lint
name: MegaLinter
uses: liblaf/actions/mega-linter@30c85b7c83d5db558c3113c5a7297837f6fe4904 # v1
with:
token: ${{ steps.auth.outputs.token }}
- if: success() || failure()
name: Upload Reports
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: mega-linter-reports
path: |-
mega-linter.log
megalinter-reports
include-hidden-files: true
- if: success() || failure()
name: Remove MegaLinter Reports
run: |-
cp --target-directory='${{ runner.temp }}' --verbose 'megalinter-reports/megalinter-report.md'
sudo rm --force --recursive 'mega-linter.log' 'megalinter-reports'
- if: steps.lint.outputs.has-updated-sources > 0 && github.ref == 'refs/heads/main'
name: Create PR with Applied Fixes
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
with:
commit-message: "chore(mega-linter): apply linters automatic fixes"
branch: mega-linter-fix/${{ github.ref_name }}
sign-commits: true
title: "chore(mega-linter): apply linters automatic fixes"
body-path: ${{ runner.temp }}/megalinter-report.md
labels: automerge,bot
assignees: ${{ github.repository_owner }}
reviewers: ${{ github.repository_owner }}
- if: steps.lint.outputs.has-updated-sources > 0 && github.ref != 'refs/heads/main'
name: Commit and Push Applied Linter Fixes
uses: liblaf/actions/commit@30c85b7c83d5db558c3113c5a7297837f6fe4904 # v1
with:
add-options: --verbose --update
message: "chore(mega-linter): apply linters automatic fixes"