Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/actions/sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@ outputs:
runs:
using: "composite"
steps:
- name: Clean workspace
shell: bash
run: |
echo "Cleaning up workspace..."
rm -rf ${{ github.workspace }}/*
echo "Workspace cleaned successfully!"

- name: Checkout PR branch
if: inputs.base_branch == 'qcom-next-staging'
uses: actions/checkout@v4
shell: bash
with:
fetch-depth: 0

Expand Down Expand Up @@ -82,3 +88,5 @@ runs:
echo "workspace=${{ github.workspace }}" >> "$GITHUB_OUTPUT"
else
echo "workspace=${{ github.workspace }}/kernel" >> "$GITHUB_OUTPUT"
fi

5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
group: GHA-Kernel-SelfHosted-RG
labels: [ self-hosted, kernel-prd-u2404-x64-large-od-ephem ]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Sync codebase
id: sync
uses: ./.github/actions/sync
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pre_merge.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: pre_merge
on:
pull_request_target:
branches:
- qcom-next-staging

jobs:
build:
Expand Down
Loading