Skip to content

Commit 0dfdcc5

Browse files
authored
super-linter_V1.yml
1 parent 5baf05f commit 0dfdcc5

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow executes several linters on changed files based on languages used in your code base whenever
2+
# you push a code or open a pull request.
3+
#
4+
# You can adjust the behavior by modifying this file.
5+
# For more information, see:
6+
# https://github.com/github/super-linter
7+
name: Lint Code Base
8+
9+
on:
10+
push:
11+
branches: [ "AI2001_Category-Source_Code-SC-Prolog_Main-dev" ]
12+
pull_request:
13+
branches: [ "AI2001_Category-Source_Code-SC-Prolog_Main-dev" ]
14+
jobs:
15+
run-lint:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v3
20+
with:
21+
# Full git history is needed to get a proper list of changed files within `super-linter`
22+
fetch-depth: 0
23+
24+
- name: Lint Code Base
25+
uses: github/super-linter@v4
26+
env:
27+
VALIDATE_ALL_CODEBASE: false
28+
DEFAULT_BRANCH: "AI2001_Category-Source_Code-SC-Prolog_Main-dev"
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)