|
29 | 29 | with: |
30 | 30 | app-id: ${{ secrets.APP_ID }} |
31 | 31 | 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 }} |
49 | 32 |
|
50 | 33 | - name: Set version variables |
51 | 34 | run: | |
@@ -167,18 +150,9 @@ jobs: |
167 | 150 | STABLE_VERSION=$(git log -1 --format=%s $STABLE_TRACKING_BRANCH | grep -oP 'Linux \K[0-9]+\.[0-9]+\.[0-9]+' || echo "unknown") |
168 | 151 | echo "Rebased to stable version: $STABLE_VERSION" |
169 | 152 |
|
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 |
182 | 156 |
|
183 | 157 | # Check for config changes |
184 | 158 | # Look for a commit at HEAD with message like "[CIQ] v6.12.29 - rebased configs" |
|
0 commit comments