|
20 | 20 | REPORT_PATH: docker-dependency-report.json |
21 | 21 | UPDATE_BRANCH: docker-dependency-updates |
22 | 22 | PR_TITLE: "chore(deps): docker dependency upgrade" |
23 | | - PR_AUTO_MERGE: "true" |
| 23 | + PR_TEAM_REVIEWER: worker |
| 24 | + PR_LABELS: |- |
| 25 | + docker |
| 26 | + dependencies |
| 27 | + PR_AUTO_MERGE: "false" |
24 | 28 | PR_MERGE_METHOD: squash |
25 | 29 | COMMIT_MESSAGE: "chore(deps): update Docker dependency pins" |
26 | 30 | COPILOT_PROMPT_PARTS: >- |
|
55 | 59 |
|
56 | 60 | steps: |
57 | 61 | - name: Checkout repository |
58 | | - uses: actions/checkout@v6 |
| 62 | + uses: actions/checkout@v7 |
59 | 63 |
|
60 | 64 | - name: Load dependency updater defaults |
61 | 65 | id: config |
@@ -141,11 +145,12 @@ jobs: |
141 | 145 |
|
142 | 146 | permissions: |
143 | 147 | contents: write |
| 148 | + issues: write |
144 | 149 | pull-requests: write |
145 | 150 |
|
146 | 151 | steps: |
147 | 152 | - name: Checkout repository |
148 | | - uses: actions/checkout@v6 |
| 153 | + uses: actions/checkout@v7 |
149 | 154 | with: |
150 | 155 | ref: ${{ github.ref }} |
151 | 156 |
|
@@ -374,14 +379,17 @@ jobs: |
374 | 379 | - name: Create pull request |
375 | 380 | id: create-pr |
376 | 381 | if: steps.changes.outputs.changed == 'true' |
377 | | - uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 |
| 382 | + uses: peter-evans/create-pull-request@v8 |
378 | 383 | timeout-minutes: 5 |
379 | 384 | with: |
| 385 | + token: ${{ secrets.GH_TOKEN }} |
380 | 386 | commit-message: ${{ needs.config.outputs.commit_message }} |
381 | 387 | title: ${{ needs.config.outputs.pr_title }} |
382 | 388 | body-path: docker-dependency-pr-body.md |
383 | 389 | branch: ${{ needs.config.outputs.update_branch }} |
384 | 390 | add-paths: ${{ needs.config.outputs.dockerfile }} |
| 391 | + labels: ${{ env.PR_LABELS }} |
| 392 | + team-reviewers: ${{ env.PR_TEAM_REVIEWER }} |
385 | 393 | draft: false |
386 | 394 | delete-branch: true |
387 | 395 |
|
@@ -409,7 +417,7 @@ jobs: |
409 | 417 | esac |
410 | 418 |
|
411 | 419 | env: |
412 | | - GH_TOKEN: ${{ github.token }} |
| 420 | + GH_TOKEN: ${{ secrets.GH_TOKEN }} |
413 | 421 | MERGE_METHOD: ${{ needs.config.outputs.pr_merge_method }} |
414 | 422 | PR_URL: ${{ steps.create-pr.outputs.pull-request-url }} |
415 | 423 |
|
|
0 commit comments