diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index c5db94b8..2431fadb 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -6,14 +6,16 @@ on: push: branches: - "**" + branches-ignore: + - 'refs/pull/**' # Игнорируем пуши, связанные с PR - # schedule: - # - cron: "0 0 * * *" # Run every day - # workflow_dispatch: - # create: - # delete: - # release: - # issues: + schedule: + - cron: "0 0 * * *" # Run every day + workflow_dispatch: + create: + delete: + release: + issues: jobs: diff --git a/.github/workflows/black_pull.yml b/.github/workflows/black_pull.yml index b804c1a5..289c761a 100644 --- a/.github/workflows/black_pull.yml +++ b/.github/workflows/black_pull.yml @@ -7,15 +7,15 @@ on: pull_request: branches: - "**" - # schedule: - # - cron: "0 0 * * *" # Run every day - # workflow_dispatch: - # create: - # delete: - # release: - # issues: - # pull_request_review: - # pull_request_review_comment: + schedule: + - cron: "0 0 * * *" # Run every day + workflow_dispatch: + create: + delete: + release: + issues: + pull_request_review: + pull_request_review_comment: jobs: black: