Skip to content

ci: initial cicd workflows #19

ci: initial cicd workflows

ci: initial cicd workflows #19

Workflow file for this run

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-latest
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