Skip to content

Validate GitHub actions in any repo #66

Validate GitHub actions in any repo

Validate GitHub actions in any repo #66

Workflow file for this run

name: Lint shell code
on:
workflow_call:
pull_request:
types: [opened, synchronize]
paths: ['**.sh']
jobs:
lint:
if: ${{ github.actor != 'OSBotify' || github.event_name == 'workflow_call' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
# 4.2.2
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Lint shell scripts with ShellCheck
run: npm run shellCheck