docs: Update README #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#################################################################### | |
# mega-linter.yml | |
#################################################################### | |
# Mega Linter Caller Workflow | |
# | |
# File: mega-linter.yml | |
# Version: 1.0 | |
# Author: Ragdata | |
# Date: 07/07/2024 | |
# License: MIT License | |
# Copyright: Copyright © 2024 Darren (Ragdata) Poulton | |
#################################################################### | |
name: MegaLinter | |
on: | |
# Trigger whenever files are pushed to any branch of the repo | |
push: null | |
# Trigger whenever a pull_request is raised on the master branch | |
pull_request: | |
branches: | |
- master | |
# Allows for manual triggering via the Actions tab | |
workflow_dispatch: | |
jobs: | |
call_reusable_workflow: | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
uses: ragdata/reusable-workflows/.github/workflows/mega-linter.yml@master | |
with: | |
megalinter_config: https://raw.githubusercontent.com/ragdata/reusable-workflows/master/.mega-linter.yml | |
linter_rules_path: https://raw.githubusercontent.com/ragdata/reusable-workflows/master/.github/linters | |
secrets: | |
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} |