Skip to content

Commit 2df9bf0

Browse files
🩹 [Patch]: Refactor Get changes step to use GitHub Script action for improved maintainability
1 parent 82c4484 commit 2df9bf0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ jobs:
5050
Get-ChildItem -Recurse -File | Select-Object -ExpandProperty FullName | Sort-Object
5151
5252
- name: Get changes
53-
shell: pwsh
54-
run: |
55-
git add tests/srcTestRepo/outputs/docs/
56-
git commit -m "Update documentation"
53+
uses: PSModule/GitHub-Script@v1
54+
with:
55+
Script: |
56+
git add tests/srcTestRepo/outputs/docs/
57+
git commit -m "Update documentation"
5758
5859
- name: Lint documentation
5960
uses: super-linter/super-linter/slim@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0

0 commit comments

Comments
 (0)