This ensures that: - Acceptance tests ar run on Pull requests - Lint is run on `main` - The workflows are executed only once on PRs
17 lines
280 B
YAML
17 lines
280 B
YAML
on:
|
|
push:
|
|
branch: [main]
|
|
pull_request:
|
|
name: Lint
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Run ShellCheck
|
|
uses: ludeeus/action-shellcheck@2.0.0
|
|
with:
|
|
ignore_paths: >-
|
|
.husky
|