From ea0f1800f77a562322b86ee35ff4ae5b46b5c46b Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Wed, 2 Oct 2024 01:50:12 -0700 Subject: [PATCH] Limit branches for pull request target workflow (#42635) (cherry picked from commit e3fdb7e729781fccf02d9ab257d4382226c5b6c8) --- .github/workflows/build-images.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 0eedeb19d7cbd..f14d9d7a28a7d 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -19,6 +19,8 @@ name: "Build Images" on: # yamllint disable-line rule:truthy pull_request_target: + branches: + - main permissions: # all other permissions are set to none contents: read