Added a superlinter action
This commit is contained in:
26
.gitea/workflows/superlinter.yaml
Normal file
26
.gitea/workflows/superlinter.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: Lint
|
||||
|
||||
on: # yamllint disable-line rule:truthy
|
||||
push: null
|
||||
pull_request: null
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
with:
|
||||
# super-linter needs the full git history to get the
|
||||
# list of files that changed across commits
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Super-linter
|
||||
uses: https://github.com/super-linter/super-linter@v6.3.0 # x-release-please-version
|
||||
Reference in New Issue
Block a user