This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pre-commit autoupdate * pre-commit run --all-files * updated configuration * updated autodoc pydantic details * updated readme * support bump workflow
- Loading branch information
1 parent
c2d0b07
commit 8850fd9
Showing
7 changed files
with
105 additions
and
16 deletions.
There are no files selected for viewing
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,52 @@ | ||
name: bump-workflow-name | ||
run-name: bump workflow run name | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
semantic-version-identifier: | ||
description: name of protected semantic version | ||
required: true | ||
type: choice | ||
options: | ||
- major | ||
- minor | ||
- patch | ||
defaults: | ||
run: | ||
shell: bash | ||
jobs: | ||
bump-job-identifier: | ||
name: bump job name | ||
runs-on: ubuntu-latest | ||
environment: ${{ inputs.github-environment-identifier }} | ||
steps: | ||
- name: checkout commit | ||
uses: actions/checkout@v4 | ||
- name: set up python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
check-latest: true | ||
architecture: x64 | ||
cache: pip | ||
- id: install-step-identifier | ||
name: install bump-my-version | ||
run: python3 -m pip install bump-my-version | ||
shell: bash | ||
- id: branch-step-identifier | ||
name: create new branch | ||
run: git switch --create bump-package-version | ||
shell: bash | ||
- id: bump-step-identifier | ||
name: bump package version | ||
env: | ||
GIT_AUTHOR_NAME: ${{ secrets.GIT_USER_NAME }} | ||
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_USER_EMAIL }} | ||
run: bump-my-version bump ${{ inputs.semantic-version-identifier }} | ||
shell: bash | ||
- id: pull-request-step-identifier | ||
name: create new pull-request | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: gh pr create --base main --fill --head bump-package-version --label maintenance --label bump-package | ||
shell: bash |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
autodoc-pydantic | ||
autodoc_pydantic | ||
furo | ||
myst-parser[linkify] | ||
Sphinx | ||
|
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,2 +1,3 @@ | ||
build | ||
bump-my-version | ||
twine |
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