Skip to content

Commit 5863d5e

Browse files
🩹 [Patch]: Update permissions and refine Lint documentation environment variables in Action-Test workflow
1 parent 754b7d3 commit 5863d5e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎.github/workflows/Action-Test.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
cancel-in-progress: true
1717

18-
permissions: {}
18+
permissions:
19+
contents: read # to checkout the repo
20+
statuses: write # to create commit status
1921

2022
jobs:
2123
ActionTestDefault:
@@ -50,8 +52,9 @@ jobs:
5052
- name: Lint documentation
5153
uses: super-linter/super-linter/slim@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0
5254
env:
55+
FILTER_REGEX_INCLUDE: .*outputs/docs/.*\.md$
5356
GITHUB_TOKEN: ${{ github.token }}
54-
VALIDATE_ALL_CODEBASE: true
57+
VALIDATE_ALL_CODEBASE: false
5558
VALIDATE_BIOME_FORMAT: false
5659
VALIDATE_BIOME_LINT: false
5760
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false

0 commit comments

Comments
 (0)