Skip to content

Commit 1b3680a

Browse files
🩹 [Patch]: Comment out Get changes step in Action-Test workflow
1 parent af3d861 commit 1b3680a

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/Action-Test.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,33 +46,33 @@ jobs:
4646
WorkingDirectory: tests/srcTestRepo
4747
ShowSummaryOnSuccess: true
4848

49-
- name: Get changes
50-
uses: PSModule/GitHub-Script@v1
51-
id: get-lint-branch
52-
with:
53-
Script: |
54-
LogGroup 'List files' {
55-
Get-ChildItem -Recurse -File | Select-Object -ExpandProperty FullName | Sort-Object
56-
}
57-
$random = Get-Random -Minimum 1000 -Maximum 9999
58-
$branch = "lint-$random"
59-
Set-GitHubOutput -Name lintBranch -Value $branch
60-
LogGroup "Create $branch branch" {
61-
git checkout -b $branch
62-
}
63-
LogGroup 'Commit changes for linting' {
64-
git add .
65-
git commit -m 'Stage changes for linting'
66-
}
67-
LogGroup 'Get changes' {
68-
git status
69-
}
49+
# - name: Get changes
50+
# uses: PSModule/GitHub-Script@v1
51+
# id: get-lint-branch
52+
# with:
53+
# Script: |
54+
# LogGroup 'List files' {
55+
# Get-ChildItem -Recurse -File | Select-Object -ExpandProperty FullName | Sort-Object
56+
# }
57+
# $random = Get-Random -Minimum 1000 -Maximum 9999
58+
# $branch = "lint-$random"
59+
# Set-GitHubOutput -Name lintBranch -Value $branch
60+
# LogGroup "Create $branch branch" {
61+
# git checkout -b $branch
62+
# }
63+
# LogGroup 'Commit changes for linting' {
64+
# git add .
65+
# git commit -m 'Stage changes for linting'
66+
# }
67+
# LogGroup 'Get changes' {
68+
# git status
69+
# }
7070

7171
- name: Lint documentation
7272
uses: super-linter/super-linter/slim@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0
7373
env:
7474
GITHUB_TOKEN: ${{ github.token }}
75-
DEFAULT_BRANCH: ${{ fromJson(steps.get-lint-branch.outputs.result).lintBranch }}
7675
VALIDATE_MARKDOWN: true
7776
VALIDATE_NATURAL_LANGUAGE: true
7877
VALIDATE_ALL_CODEBASE: true
78+
USE_FIND_ALGORITHM: true

0 commit comments

Comments
 (0)