From 9273322c7839906dc50f26a4c787cd95195facb8 Mon Sep 17 00:00:00 2001 From: Jonathan Maple Date: Thu, 16 Jan 2025 19:09:24 -0500 Subject: [PATCH] github actions: Reduce Pull Request openness Since the kernel builds are very expensive we only want to run the workflows associated with them is by approval of staff / maintainers of the kernel. There was a miss understanding initially that pull_request_target was required to get access to the code. --- .github/workflows/build-check_aarch64.yml | 2 +- .github/workflows/build-check_x86_64.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-check_aarch64.yml b/.github/workflows/build-check_aarch64.yml index e14c8e43c48f..cb30a2199ed0 100644 --- a/.github/workflows/build-check_aarch64.yml +++ b/.github/workflows/build-check_aarch64.yml @@ -1,6 +1,6 @@ name: aarch64 CI on: - pull_request_target: + pull_request: branches: - '**' - '!mainline' diff --git a/.github/workflows/build-check_x86_64.yml b/.github/workflows/build-check_x86_64.yml index b349bf54ecfb..a1d16685ec22 100644 --- a/.github/workflows/build-check_x86_64.yml +++ b/.github/workflows/build-check_x86_64.yml @@ -1,6 +1,6 @@ name: x86_64 CI on: - pull_request_target: + pull_request: branches: - '**' - '!mainline'