From e3fdb7e729781fccf02d9ab257d4382226c5b6c8 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) --- .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 9c732d1166a58..db8905a8b2263 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -21,6 +21,8 @@ run-name: > Build images for ${{ github.event.pull_request.title }} ${{ github.event.pull_request._links.html.href }} on: # yamllint disable-line rule:truthy pull_request_target: + branches: + - main permissions: # all other permissions are set to none contents: read