Skip to content

Commit 23c2c53

Browse files
committed
github actions: Make builds on Merge Request
Since we need to make sure all our checks run BEFORE the commit is pushed to a branch we're swithcing this to `on pull_request_target` to enable external contibutors.
1 parent 369d0f6 commit 23c2c53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/push-check_x86_64.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22
on:
3-
push:
3+
pull_request_target:
44
branches:
55
- '**'
66
- '!mainline'
@@ -24,6 +24,7 @@ jobs:
2424
- name: Checkout code
2525
uses: actions/checkout@v4
2626
with:
27+
ref: "${{ github.event.pull_request.merge_commit_sha }}"
2728
fetch-depth: 0
2829
- name: Build the Kernel
2930
run: |

0 commit comments

Comments
 (0)