From d66346a4325203a8e33252f6401774bb82f5ee5e Mon Sep 17 00:00:00 2001 From: Matej Kubinec Date: Tue, 10 Jun 2025 08:51:02 +0200 Subject: [PATCH 1/2] PMM-7 Disable grafana workflows --- .github/workflows/go-lint.yml | 19 ++++++++++-------- .github/workflows/pr-backend-code-checks.yml | 12 ++++++----- .github/workflows/pr-backend-unit-tests.yml | 21 ++++++++++---------- .github/workflows/run-schema-v2-e2e.yml | 14 +++++++------ 4 files changed, 37 insertions(+), 29 deletions(-) diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index 0925dcf02d026..523f25c0213b3 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -1,13 +1,16 @@ name: golangci-lint on: - push: - paths: - - pkg/** - - .github/workflows/go-lint.yml - - go.* - branches: - - main - pull_request: + # @PERCONA - disable workflow + workflow_dispatch: + # push: + # paths: + # - pkg/** + # - .github/workflows/go-lint.yml + # - go.* + # branches: + # - main + # pull_request: + permissions: contents: read diff --git a/.github/workflows/pr-backend-code-checks.yml b/.github/workflows/pr-backend-code-checks.yml index 37073dc28c490..d02ead045496a 100644 --- a/.github/workflows/pr-backend-code-checks.yml +++ b/.github/workflows/pr-backend-code-checks.yml @@ -2,11 +2,13 @@ name: Backend Code Checks description: Validate go.mod and OpenAPI specifications on: - pull_request: - paths-ignore: - - '*.md' - - 'docs/**' - - 'latest.json' + # @PERCONA - disable workflow + workflow_dispatch: + # pull_request: + # paths-ignore: + # - '*.md' + # - 'docs/**' + # - 'latest.json' permissions: contents: read diff --git a/.github/workflows/pr-backend-unit-tests.yml b/.github/workflows/pr-backend-unit-tests.yml index 99ec9b0ea4905..a5fd1d7fdc450 100644 --- a/.github/workflows/pr-backend-unit-tests.yml +++ b/.github/workflows/pr-backend-unit-tests.yml @@ -2,16 +2,17 @@ name: Backend Unit Tests on: workflow_dispatch: - push: - branches: - - main - paths-ignore: - - 'docs/**' - - '**/*.md' - pull_request: - paths-ignore: - - 'docs/**' - - '**/*.md' + # @PERCONA - disable workflow + # push: + # branches: + # - main + # paths-ignore: + # - 'docs/**' + # - '**/*.md' + # pull_request: + # paths-ignore: + # - 'docs/**' + # - '**/*.md' permissions: contents: read diff --git a/.github/workflows/run-schema-v2-e2e.yml b/.github/workflows/run-schema-v2-e2e.yml index 8b55aa4c4306a..917767ad816f1 100644 --- a/.github/workflows/run-schema-v2-e2e.yml +++ b/.github/workflows/run-schema-v2-e2e.yml @@ -1,12 +1,14 @@ name: Run dashboard schema v2 e2e on: - push: - branches: - - main - pull_request: - branches: - - '**' + # @PERCONA - disable workflow + workflow_dispatch: + # push: + # branches: + # - main + # pull_request: + # branches: + # - '**' env: ARCH: linux-amd64 From feaf355b5e2fde9e60383823902a8a77f7836785 Mon Sep 17 00:00:00 2001 From: Matej Kubinec Date: Tue, 26 Aug 2025 14:54:18 +0200 Subject: [PATCH 2/2] PMM-7 Disable PR Checks workflow --- .github/workflows/pr-checks.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index cc8d2531bef77..3d90c160c5dab 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -1,19 +1,21 @@ name: PR Checks on: - pull_request_target: - types: - - opened - - reopened - - synchronize - - ready_for_review - - labeled - - unlabeled - - edited - - auto_merge_enabled - issues: - types: - - milestoned - - demilestoned + # @PERCONA - disable workflow + workflow_dispatch: + # pull_request_target: + # types: + # - opened + # - reopened + # - synchronize + # - ready_for_review + # - labeled + # - unlabeled + # - edited + # - auto_merge_enabled + # issues: + # types: + # - milestoned + # - demilestoned concurrency: group: pr-checks-${{ github.event.number }}