File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments