Skip to content

Update super-linter.yaml #19

Update super-linter.yaml

Update super-linter.yaml #19

Workflow file for this run

name: Code Linter
on:
push:
branches:
- main
pull_request:
branches:
- '!main'
paths:
- './openshift/manifests/org-ocpdude/**.yaml'
- './openshift/manifests/org-vault-tec/**.yaml'
- './openshift/manifests/rbac-example/**.yaml'
- './openshift/builds/podman/Dockerfile'
- './openshift/builds/docker/Dockerfile'
workflow_dispatch:
jobs:
build:
name: Let's lint it up! 🎸
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Kubernetes-linter
uses: super-linter/super-linter/[email protected]
env:
KUBERNETES_KUBECONFORM_OPTIONS: --ignore-missing-schemas
FILTER_REGEX_INCLUDE: ./openshift/manifests/*/.*.yaml
DEFAULT_BRANCH: main
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Docker-linter
uses: super-linter/super-linter/[email protected]
env:
HADOLINT_IGNORE: DL3004
FILTER_REGEX_INCLUDE: ./openshift/builds/*/.*Dockerfile
DEFAULT_BRANCH: main
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}