Skip to content

Commit baebcea

Browse files
committed
ci: Fix: pre_merge for all branches
Pre-merge needs to be used from kernel-topics also, it should be available for all branches. Removed bash shell from checkout code Signed-off-by: Vishal Kumar <viskuma@qti.qualcomm.com>
1 parent a80388e commit baebcea

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/actions/sync/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ runs:
2020
- name: Checkout PR branch
2121
if: inputs.base_branch == 'qcom-next-staging'
2222
uses: actions/checkout@v4
23-
shell: bash
2423
with:
2524
fetch-depth: 0
2625

@@ -82,3 +81,5 @@ runs:
8281
echo "workspace=${{ github.workspace }}" >> "$GITHUB_OUTPUT"
8382
else
8483
echo "workspace=${{ github.workspace }}/kernel" >> "$GITHUB_OUTPUT"
84+
fi
85+

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
group: GHA-Kernel-SelfHosted-RG
1414
labels: [ self-hosted, kernel-prd-u2404-x64-large-od-ephem ]
1515
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
1621
- name: Sync codebase
1722
id: sync
1823
uses: ./.github/actions/sync

.github/workflows/pre_merge.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: pre_merge
22
on:
33
pull_request_target:
4-
branches:
5-
- qcom-next-staging
4+
- branches:
5+
qcom-next-staging
6+
pull_request:
67

78
jobs:
89
build:

0 commit comments

Comments
 (0)