Skip to content

Commit

Permalink
force execution.
Browse files Browse the repository at this point in the history
  • Loading branch information
mursalatul committed Jan 23, 2024
1 parent 1fdd0c0 commit 6d0719b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/update_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,11 @@ jobs:
- name: Run ADMIN/MAINTAIN/UPDATE_DOC.py
run: python ADMIN/MAINTAIN/UPDATE_DOC.py

- name: Check if DOCUMENTATION.md is changed
id: check_changes
run: |
git diff --exit-code --quiet || echo "DOCUMENTATION.md has changes"
- name: Commit and push changes
if: steps.check_changes.outputs.result == 'DOCUMENTATION.md has changes'
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Update documentation [skip ci]" # skip ci to avoid triggering a new workflow run
git commit -m "auto update documentation & api"
git push

0 comments on commit 6d0719b

Please sign in to comment.