Skip to content

Commit ed7d803

Browse files
committed
cleanup app id debugging
1 parent 9cf35de commit ed7d803

File tree

1 file changed

+3
-29
lines changed

1 file changed

+3
-29
lines changed

.github/workflows/clk-rebase.yml

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,6 @@ jobs:
2929
with:
3030
app-id: ${{ secrets.APP_ID }}
3131
private-key: ${{ secrets.APP_PRIVATE_KEY }}
32-
permissions: >-
33-
{
34-
"contents": "write",
35-
"pull_requests": "write"
36-
}
37-
38-
- name: Debug token generation
39-
run: |
40-
if [ -z "${{ steps.generate-token.outputs.token }}" ]; then
41-
echo "ERROR: Token was not generated!"
42-
exit 1
43-
else
44-
echo "Token was generated successfully"
45-
echo "Token length: ${#TOKEN}"
46-
fi
47-
env:
48-
TOKEN: ${{ steps.generate-token.outputs.token }}
4932

5033
- name: Set version variables
5134
run: |
@@ -167,18 +150,9 @@ jobs:
167150
STABLE_VERSION=$(git log -1 --format=%s $STABLE_TRACKING_BRANCH | grep -oP 'Linux \K[0-9]+\.[0-9]+\.[0-9]+' || echo "unknown")
168151
echo "Rebased to stable version: $STABLE_VERSION"
169152
170-
# Debug: Check remote URL and branches
171-
echo "Remote URL:"
172-
git remote get-url origin
173-
echo "Branches to push:"
174-
echo " CLK_NEXT_BRANCH: $CLK_NEXT_BRANCH"
175-
echo " TMP_CLK_NEXT_BRANCH: $TMP_CLK_NEXT_BRANCH"
176-
177-
# Push the branches with verbose output
178-
echo "Pushing $CLK_NEXT_BRANCH..."
179-
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push origin $CLK_NEXT_BRANCH
180-
echo "Pushing $TMP_CLK_NEXT_BRANCH..."
181-
GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push origin $TMP_CLK_NEXT_BRANCH
153+
# Push the branches
154+
git push origin $CLK_NEXT_BRANCH
155+
git push origin $TMP_CLK_NEXT_BRANCH
182156
183157
# Check for config changes
184158
# Look for a commit at HEAD with message like "[CIQ] v6.12.29 - rebased configs"

0 commit comments

Comments
 (0)