Skip to content
Merged
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: CI

on:
pull_request:
workflow_dispatch:
push:
branches: [main, master, prod]

# The list of permissions is explained on the GitHub doc:
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
actions: read
contents: read

jobs:
shellcheck:
name: "ShellCheck"
runs-on: ubuntu-latest
steps:
- uses: Scalingo/actions/shellcheck@main
with:
shellcheck-severity: style
files: |
cmnlib.sh
...