This repository has been archived by the owner on Feb 10, 2025. It is now read-only.
ci: add info about new repository #36
Workflow file for this run
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
name: Linter | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
jobs: | |
lint: | |
if: ${{ (github.event.repository.visibility == 'public') && (github.repository_owner == 'intel') }} | |
name: Run linter | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
statuses: write | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Print YAML Lint Config | |
run: cat .github/linters/.yaml-lint.yml | |
- name: Super-Linter | |
uses: super-linter/super-linter/[email protected] | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
VALIDATE_BASH: true | |
BASH_SEVERITY: error | |
FILTER_REGEX_EXCLUDE: ".*/templates/.*.yaml" | |
VALIDATE_YAML: true | |
VALIDATE_PYTHON_RUFF: true | |
VALIDATE_DOCKERFILE_HADOLINT: true | |
GITHUB_TOKEN: ${{ github.token }} | |
DEFAULT_BRANCH: main |