Skip to content

Avoid git warnings on shallow checkout (#5455) #1

Avoid git warnings on shallow checkout (#5455)

Avoid git warnings on shallow checkout (#5455) #1

name: Validation Of Shell Scripts
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
validation-of-shell-scripts:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: check out code
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Install shellcheck
run: sudo apt-get install shellcheck
- name: Run shellcheck
run: shellcheck scripts/*.sh