Skip to content

fix(kube-prometheus): have a variable for taking the Traefik pod name as input #206

fix(kube-prometheus): have a variable for taking the Traefik pod name as input

fix(kube-prometheus): have a variable for taking the Traefik pod name as input #206

Workflow file for this run

name: Check Shell scripts
on:
pull_request:
types:
- opened
- synchronize
- reopened
paths:
- '**/*.sh'
- '**/*.bash'
permissions:
contents: read
# This will only allow a single markdownlint action to run per PR.
# Any github action running on the older commits will be aborted.
concurrency:
group: shellcheck-${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7.0.0
- name: Install shellcheck
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends shellcheck=0.9.0-1
shellcheck --version
- name: Run shellcheck
run: find . \( -path './argocd-helm-charts' -o -path './build/kube-prometheus/libraries' -o -path './build/vendor' \) -prune -o -type f \( -name '*.sh' -o -name '*.bash' \) -print | xargs shellcheck