Skip to content

Commit e468a0f

Browse files
committed
Temporarily (?) disable linting for everything other than Markdown
1 parent baa2b69 commit e468a0f

File tree

1 file changed

+13
-32
lines changed

1 file changed

+13
-32
lines changed

.github/workflows/linter.yml

Lines changed: 13 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,42 @@
1-
###########################
2-
###########################
3-
## Linter GitHub Actions ##
4-
###########################
5-
###########################
61
name: Lint Code Base
72

8-
#
9-
# Documentation:
10-
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
11-
#
12-
13-
################################################
14-
# Trigger the workflow on push or pull request #
15-
# but only for the master branch #
16-
################################################
173
on:
184
push:
195
branches:
206
- master
217
paths:
22-
- '**.py'
238
- '**.md'
249
pull_request:
2510
branches:
2611
- master
2712
paths:
28-
- '**.py'
2913
- '**.md'
3014

31-
###############
32-
# Set the Job #
33-
###############
3415
jobs:
3516
build:
36-
# Name the Job
3717
name: Lint Code Base
38-
# Set the agent to run on
3918
runs-on: ubuntu-latest
4019

41-
##################
42-
# Load all steps #
43-
##################
20+
permissions:
21+
contents: read
22+
packages: read
23+
# To report GitHub Actions status checks
24+
statuses: write
25+
4426
steps:
45-
##########################
46-
# Checkout the code base #
47-
##########################
4827
- name: Checkout Code
4928
uses: actions/checkout@v5
29+
with:
30+
# super-linter needs the full git history to get the
31+
# list of files that changed across commits
32+
fetch-depth: 0
33+
persist-credentials: false
5034

51-
################################
52-
# Run Linter against code base #
53-
################################
35+
# Check https://github.com/super-linter/super-linter for other options
5436
- name: Lint Code Base
5537
uses: super-linter/super-linter@v8
5638
env:
5739
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5840
VALIDATE_MARKDOWN: true
59-
VALIDATE_TYPESCRIPT_ES: true
60-
VALIDATE_DOCKER: true
41+
6142

0 commit comments

Comments
 (0)