diff --git a/.github/workflows/pr-rebase-needed.yml b/.github/workflows/pr-rebase-needed.yml index 37da9ce44325a07..2b3fcb7428b3ffd 100644 --- a/.github/workflows/pr-rebase-needed.yml +++ b/.github/workflows/pr-rebase-needed.yml @@ -3,6 +3,8 @@ name: "PR conflicts" on: push: pull_request_target: + branches: + - main types: [synchronize] permissions: diff --git a/.github/workflows/system-file-changes.yml b/.github/workflows/system-file-changes.yml index a4641b4b569aa18..f4e8c56815ba5cf 100644 --- a/.github/workflows/system-file-changes.yml +++ b/.github/workflows/system-file-changes.yml @@ -2,6 +2,8 @@ name: System file changes on: pull_request_target: + branches: + - main paths: - ".github/workflows/**" - ".github/CODEOWNERS"