Skip to content

workflow test

workflow test #24

Workflow file for this run

name: Code Linter
on:
workflow_call:
workflow_dispatch:
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'
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: DL3003,DL3004,DL3007,DL3029,DL3041,DL4006
FILTER_REGEX_INCLUDE: ./openshift/builds/*/.*Dockerfile
DEFAULT_BRANCH: main
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}