Skip to content

Commit 4983ff9

Browse files
fix: simplify checkout steps in workflow
Removed unnecessary checkout steps that were causing failures. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1 parent a760106 commit 4983ff9

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/inbox-steward.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,10 @@ jobs:
6868
pr_count: ${{ steps.find_prs.outputs.pr_count }}
6969

7070
steps:
71-
- name: Checkout gitbot-fleet
72-
uses: actions/checkout@v4
73-
with:
74-
fetch-depth: 0
75-
token: ${{ secrets.GITHUB_TOKEN }}
76-
7771
- name: Find PRs that passed all checks
7872
id: find_prs
7973
env:
80-
GH_TOKEN: ${{ secrets.FARM_PAT }}
74+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8175
REPO: ${{ github.repository }}
8276
TARGET_REPO: ${{ inputs.repo }}
8377
run: |
@@ -167,9 +161,6 @@ jobs:
167161
auto_merge_candidates: ${{ steps.validate.outputs.auto_merge_candidates }}
168162

169163
steps:
170-
- name: Checkout gitbot-fleet
171-
uses: actions/checkout@v4
172-
173164
- name: Validate PRs
174165
id: validate
175166
env:
@@ -292,11 +283,13 @@ jobs:
292283
steps:
293284
- name: Checkout gitbot-fleet
294285
uses: actions/checkout@v4
286+
with:
287+
fetch-depth: 0
295288

296289
- name: Auto-merge PRs
297290
id: merge
298291
env:
299-
GH_TOKEN: ${{ secrets.FARM_PAT }}
292+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
300293
CANDIDATES: ${{ needs.validate-prs.outputs.auto_merge_candidates }}
301294
run: |
302295
set -euo pipefail

0 commit comments

Comments
 (0)