Skip to content

Commit 0ac20a8

Browse files
author
Darius Neațu
committed
Test: Add PR testing support to sync-docs workflow
1 parent 173f146 commit 0ac20a8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/sync-docs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,17 @@ jobs:
3939
run: |
4040
python3 scripts/sync-docs.py beman
4141
42+
- name: Show changes (for PR testing)
43+
if: github.event_name == 'pull_request'
44+
run: |
45+
echo "=== Changes detected ==="
46+
git status
47+
echo ""
48+
echo "=== Diff ==="
49+
git diff || echo "No changes detected"
50+
4251
- name: Create Pull Request
52+
if: github.event_name != 'pull_request'
4353
uses: peter-evans/create-pull-request@v6
4454
with:
4555
base: main

0 commit comments

Comments
 (0)