docker-mailserver/.github/workflows/linting.yml
Brennan Kinney ca2c53dde7
ci: Avoiding linting CONTRIBUTORS.yml (#3705)
The file is managed by the `contributors.yml` workflow, no need for linting to be triggered on PRs for that change.

This should ideally skip the required check status for the lint workflow which cannot trigger implicitly for automated PRs. If this doesn't work the change should be reverted.
2023-12-19 14:41:07 +13:00

29 lines
446 B
YAML

name: Lint
on:
pull_request:
paths-ignore:
# Managed by workflow: contributors.yml
- CONTRIBUTORS.md
push:
branches: [ master ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Hadolint
run: make hadolint
- name: ShellCheck
run: make shellcheck
- name: ECLint
run: make eclint