-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
159 additions
and
103 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is a CODEOWNERS file | ||
# Each line specifies a file pattern followed by one or more GitHub usernames or team names | ||
|
||
# Owners for the entire repository | ||
* @jzsmoreno |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,12 @@ name: Auto-documentation Generation | |
on: | ||
push: | ||
branches: | ||
- main | ||
- 'main' | ||
paths: | ||
- 'pydbsmgr/**' | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
generate-docs: | ||
|
@@ -24,6 +29,17 @@ jobs: | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
pip install pdoc3 | ||
- name: Set up Git | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
GITHUB_NAME: ${{ secrets.NAME }} | ||
GITHUB_EMAIL: ${{ secrets.EMAIL }} | ||
run: | | ||
git config user.email "${GITHUB_EMAIL}" | ||
git config user.name "${GITHUB_NAME}" | ||
git config credential.helper "store --file=.git/credentials" | ||
echo "https://${{ secrets.TOKEN }}@github.com/${{ github.repository }}" > .git/credentials | ||
- name: Remove existing documentation files | ||
run: rm -rf docs/* | ||
|
||
|
@@ -43,13 +59,7 @@ jobs: | |
rm -rf docs/${{ steps.get_package_name.outputs.name }} | ||
- name: Commit documentation changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
GITHUB_ACTOR: ${{ github.actor }} | ||
GITHUB_EMAIL: [email protected] | ||
run: | | ||
git config user.email "${GITHUB_EMAIL}" | ||
git config user.name "${GITHUB_ACTOR}" | ||
if git status --porcelain | grep .; then | ||
echo "Changes detected, proceeding with workflow steps..." | ||
git add docs/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.9.5 | ||
0.9.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.