Skip to content

Commit 77b4c8c

Browse files
bdougieContinue
andcommitted
fix: correct step property order in workflow files
In GitHub Actions, step properties must follow this order: 1. name 2. if (conditional) 3. id 4. uses 5. with Moving `if` before `uses` to fix workflow validation errors. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
1 parent c2961c3 commit 77b4c8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/code-review-debug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
fetch-depth: 0
2626

2727
- name: Generate App Token (Optional)
28+
if: secrets.CONTINUE_APP_ID != '' && secrets.CONTINUE_APP_PRIVATE_KEY != ''
2829
id: generate_token
2930
uses: actions/create-github-app-token@v1
30-
if: secrets.CONTINUE_APP_ID != '' && secrets.CONTINUE_APP_PRIVATE_KEY != ''
3131
with:
3232
app-id: ${{ secrets.CONTINUE_APP_ID }}
3333
private-key: ${{ secrets.CONTINUE_APP_PRIVATE_KEY }}

.github/workflows/continue-general-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
timeout-minutes: 10
2222
steps:
2323
- name: Generate GitHub App Token
24+
if: secrets.CONTINUE_APP_ID != '' && secrets.CONTINUE_APP_PRIVATE_KEY != ''
2425
id: generate-token
2526
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v2.0.0
26-
if: secrets.CONTINUE_APP_ID != '' && secrets.CONTINUE_APP_PRIVATE_KEY != ''
2727
with:
2828
app-id: ${{ secrets.CONTINUE_APP_ID }}
2929
private-key: ${{ secrets.CONTINUE_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)