mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-12-06 12:42:41 +01:00
Super-linter v7 requires full git history to find the default branch for comparison. Without fetch-depth: 0, it fails with 'master branch doesn't exist' error.
17 lines
355 B
YAML
17 lines
355 B
YAML
on: [push, pull_request, workflow_dispatch]
|
|
|
|
name: Lint
|
|
|
|
jobs:
|
|
super-linter:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Lint Code Base
|
|
uses: super-linter/super-linter@v7
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|