Skip to content

fix: Add header to HTMLs req'd by pkgdown #90

fix: Add header to HTMLs req'd by pkgdown

fix: Add header to HTMLs req'd by pkgdown #90

Workflow file for this run

---
name: SuperLinter
on:
pull_request:
branches:
- main
jobs:
lint:
permissions:
# To write linting fixes
contents: write
# To write Super-linter status checks
statuses: write
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint Code Base
uses: super-linter/super-linter/slim@v7.1.0
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
FIX_PYTHON_BLACK: true
FIX_PYTHON_RUFF: true
FIX_PYTHON_ISORT: true
FIX_PYTHON_PYINK: true
FIX_YAML_PRETTIER: true
FIX_MARKDOWN: true
FIX_MARKDOWN_PRETTIER: true
VALIDATE_CHECKOV: false
VALIDATE_PYTHON_PYLINT: false
VALIDATE_PYTHON_FLAKE8: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit & Push Linting Fixes
# Run only on:
# - Pull requests
# - Not on the default branch
if: >
github.event_name == 'pull_request' &&
github.ref_name != github.event.repository.default_branch
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
commit_message: "chore: fix linting issues"
commit_user_name: super-linter
commit_user_email: super-linter@super-linter.dev