Skip to content

Commit b192cc7

Browse files
🩹 [Patch]: Restore Get changes step in Action-Test workflow for file listing and staging changes for linting
1 parent 25bfe1f commit b192cc7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

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

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

49-
# - name: Get changes
50-
# uses: PSModule/GitHub-Script@v1
51-
# with:
52-
# Script: |
53-
# LogGroup 'List files' {
54-
# Get-ChildItem -Recurse -File | Select-Object -ExpandProperty FullName | Sort-Object
55-
# }
56-
# LogGroup 'Commit changes for linting' {
57-
# git add .
58-
# git commit -m 'Stage changes for linting'
59-
# }
60-
# LogGroup 'Get changes' {
61-
# git status
62-
# }
49+
- name: Get changes
50+
uses: PSModule/GitHub-Script@v1
51+
with:
52+
Script: |
53+
LogGroup 'List files' {
54+
Get-ChildItem -Recurse -File | Select-Object -ExpandProperty FullName | Sort-Object
55+
}
56+
LogGroup 'Commit changes for linting' {
57+
git add .
58+
git commit -m 'Stage changes for linting'
59+
}
60+
LogGroup 'Get changes' {
61+
git status
62+
}
6363
6464
- name: Lint documentation
6565
uses: super-linter/super-linter/slim@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0

0 commit comments

Comments
 (0)