Skip to content

Commit cda2e62

Browse files
committed
clk-rebase: Use actions/checkout and ga bot identity
1 parent a08ddee commit cda2e62

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

.github/workflows/clk-rebase.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,25 @@ jobs:
3030
echo "CLK_NEXT_BRANCH=ciq-${STABLE_BASE_VERSION}-next" >> $GITHUB_ENV
3131
echo "TMP_CLK_NEXT_BRANCH={automation_tmp}_ciq-${STABLE_BASE_VERSION}-next" >> $GITHUB_ENV
3232
33+
- name: Checkout kernel-src-tree
34+
uses: actions/checkout@v4
35+
with:
36+
repository: ctrliq/kernel-src-tree
37+
token: ${{ secrets.GITHUB_TOKEN }}
38+
path: kernel-src-tree
39+
40+
- name: Checkout kernel-src-tree-tools
41+
uses: actions/checkout@v4
42+
with:
43+
repository: ctrliq/kernel-src-tree-tools
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
path: kernel-src-tree-tools
46+
47+
- name: Configure git
48+
run: |
49+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
50+
git config --global user.name "github-actions[bot]"
51+
3352
- name: Install system dependencies
3453
run: |
3554
dnf install epel-release -y
@@ -49,14 +68,6 @@ jobs:
4968
# with --allowerasing
5069
dnf install curl --allowerasing -y
5170
52-
- name: Clone repositories
53-
run: |
54-
git config --global user.email "[email protected]"
55-
git config --global user.name "Brett Mastbergen"
56-
57-
git clone https://oauth2:[email protected]/ctrliq/kernel-src-tree-tools
58-
git clone https://oauth2:[email protected]/ctrliq/kernel-src-tree
59-
6071
- name: Perform rebase
6172
run: |
6273
cd kernel-src-tree

0 commit comments

Comments
 (0)