Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit 64affaa

Browse files
authored
Update pydocs.yml
1 parent 30bc986 commit 64affaa

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/pydocs.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ jobs:
6565
git config --global user.email "sserrata@paloaltonetworks.com"
6666
git config --global user.name "Steven Serrata"
6767
git add .
68-
git commit -m "update pydocs"
68+
git diff --cached --exit-code || git commit -m "update pydocs" && echo ::set-output name=changes::true
6969
7070
- name: Create Pull Request
71+
if: steps.id.outputs.changes == 'true'
7172
id: pydocs
7273
uses: peter-evans/create-pull-request@v3
7374
with:
@@ -80,8 +81,3 @@ jobs:
8081
body: |
8182
Update pydocs
8283
- Docs generated with `pydoc-markdown`
83-
84-
- name: Check outputs
85-
run: |
86-
echo "Pull Request Number - ${{ steps.pydocs.outputs.pull-request-number }}"
87-
echo "Pull Request URL - ${{ steps.pydocs.outputs.pull-request-url }}"

0 commit comments

Comments
 (0)