Skip to content

Commit 9cf35de

Browse files
committed
gemini's turn
1 parent c08a773 commit 9cf35de

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/clk-rebase.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches:
99
- clk-rebase-ga
1010

11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
1115
jobs:
1216
clk-rebase:
1317
runs-on: kernel-build
@@ -25,6 +29,11 @@ jobs:
2529
with:
2630
app-id: ${{ secrets.APP_ID }}
2731
private-key: ${{ secrets.APP_PRIVATE_KEY }}
32+
permissions: >-
33+
{
34+
"contents": "write",
35+
"pull_requests": "write"
36+
}
2837
2938
- name: Debug token generation
3039
run: |
@@ -75,6 +84,7 @@ jobs:
7584
token: ${{ steps.generate-token.outputs.token }}
7685
path: kernel-src-tree
7786
fetch-depth: 0
87+
persist-credentials: true
7888

7989
- name: Checkout kernel-src-tree-tools
8090
uses: actions/checkout@v4
@@ -88,14 +98,6 @@ jobs:
8898
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
8999
git config --global user.name "github-actions[bot]"
90100
91-
# Update the remote URL directly in the kernel-src-tree repo
92-
cd kernel-src-tree
93-
git remote set-url origin https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/ctrliq/kernel-src-tree
94-
95-
# Debug: Verify remote URL (token will be redacted in output)
96-
echo "Remote URL after update:"
97-
git remote get-url origin
98-
99101
- name: Perform rebase
100102
run: |
101103
cd kernel-src-tree

0 commit comments

Comments
 (0)