From 54c9bee4b5378a5d9d9021451f9cb9558d41c6d4 Mon Sep 17 00:00:00 2001 From: Nikita Pastukhov Date: Wed, 29 May 2024 17:58:02 +0300 Subject: [PATCH] chore: finalize CI --- .github/workflows/docs_update-references.yaml | 4 ++-- .github/workflows/docs_update-release-notes.yaml | 6 +++--- .github/workflows/pr_codeql.yml | 5 ++--- .github/workflows/pr_dependency-review.yaml | 5 ++--- .github/workflows/pr_tests.yaml | 5 ++--- .github/workflows/release_pypi.yml | 6 +++--- 6 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docs_update-references.yaml b/.github/workflows/docs_update-references.yaml index f29c3d240e..d39a569c7a 100644 --- a/.github/workflows/docs_update-references.yaml +++ b/.github/workflows/docs_update-references.yaml @@ -9,8 +9,8 @@ on: - faststream/** - docs/**/api/** -permissions: - contents: write +# permissions: +# contents: write jobs: check-docs-changes: diff --git a/.github/workflows/docs_update-release-notes.yaml b/.github/workflows/docs_update-release-notes.yaml index b6280cc13b..1c3b3c0e1e 100644 --- a/.github/workflows/docs_update-release-notes.yaml +++ b/.github/workflows/docs_update-release-notes.yaml @@ -2,9 +2,9 @@ name: Create PR with updated Release Notes on: workflow_dispatch: null - push: - tags: - - '*' + release: + types: + - published jobs: update-release-notes: diff --git a/.github/workflows/pr_codeql.yml b/.github/workflows/pr_codeql.yml index b933ed3e36..7e97facb72 100644 --- a/.github/workflows/pr_codeql.yml +++ b/.github/workflows/pr_codeql.yml @@ -14,9 +14,8 @@ name: "CodeQL" on: pull_request: types: - # - opened - # - synchronize - - review_requested + - opened + - synchronize branches: - main schedule: diff --git a/.github/workflows/pr_dependency-review.yaml b/.github/workflows/pr_dependency-review.yaml index 63064ef068..11ad023407 100644 --- a/.github/workflows/pr_dependency-review.yaml +++ b/.github/workflows/pr_dependency-review.yaml @@ -9,9 +9,8 @@ name: 'Dependency Review' on: pull_request: types: - # - opened - # - synchronize - - review_requested + - opened + - synchronize branches: - main paths: diff --git a/.github/workflows/pr_tests.yaml b/.github/workflows/pr_tests.yaml index 21a76786a9..204dd3c30d 100644 --- a/.github/workflows/pr_tests.yaml +++ b/.github/workflows/pr_tests.yaml @@ -3,9 +3,8 @@ name: Run all tests on: pull_request: types: - # - opened - # - synchronize - - review_requested + - opened + - synchronize jobs: static_analysis: diff --git a/.github/workflows/release_pypi.yml b/.github/workflows/release_pypi.yml index 1f03e52ae0..f1ed153dde 100644 --- a/.github/workflows/release_pypi.yml +++ b/.github/workflows/release_pypi.yml @@ -2,9 +2,9 @@ name: Publish to PyPi on: workflow_dispatch: null - push: - tags: - - "*" + release: + types: + - published jobs: publish: