-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update CI triggers to minify useless runs (#1483)
* chore: run CQ CI only with PR and by cron * chore: run DR CI only if pyproject changed * format: correct deploy docs CI * chore: run coverage publish CI only after PR merged * chore: run tests only in PR * chore: fix test CI * chore: add CI workflows names conversation * chore: add docs update references CI * chore: make update references CI writeable * chore: finalize CI * chore: correct name in check links CI * chore: run tests only if required * chore: run CQ CI if required * chore: fix broken links CI * chore: make References autocommit * Apply automatic changes * chore: change GHA commit message * chore: make extra trigger for tests * chore: update tests triggers * chore: run tests anyway * chore: add merge queue trigger to CI * chore: make real testsuites fail-fast * chore: remove useless conditions in CI --------- Co-authored-by: Lancetnik <Lancetnik@users.noreply.github.com> Co-authored-by: Kumaran Rajendhiran <kumaran@airt.ai>
- Loading branch information
1 parent
82c9acd
commit a628529
Showing
10 changed files
with
127 additions
and
95 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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Generate API References documentation | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
paths: | ||
- faststream/** | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
check-docs-changes: | ||
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
cache: "pip" | ||
cache-dependency-path: pyproject.toml | ||
- name: Install Dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: pip install -e ".[dev]" | ||
- name: Run build docs | ||
run: bash scripts/build-docs.sh | ||
- name: Commit | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "docs: generate API References" |
8 changes: 4 additions & 4 deletions
8
.github/workflows/update_release_notes.yaml → .../workflows/docs_update-release-notes.yaml
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.