From 0a1b6c705d2bd0cd8c8e76391b9c1e4d29049140 Mon Sep 17 00:00:00 2001 From: Alexandre Nobuharu Sato <66435071+AlexandreSato@users.noreply.github.com> Date: Sat, 31 Aug 2024 14:39:00 -0300 Subject: [PATCH] Bot comment only for first timers (#33412) * Wellcome comment just for first timers * Update auto_pr_review.yaml https://github.com/actions/first-interaction/blob/main/README.md --- .github/workflows/auto_pr_review.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto_pr_review.yaml b/.github/workflows/auto_pr_review.yaml index 447e559c90..eaaca56060 100644 --- a/.github/workflows/auto_pr_review.yaml +++ b/.github/workflows/auto_pr_review.yaml @@ -35,11 +35,12 @@ jobs: already-exists-comment: "Your PR should be made against the `master` branch" # Welcome comment - - name: comment - uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 + - name: "First timers PR" + uses: actions/first-interaction@v1 if: github.event.pull_request.head.repo.full_name != 'commaai/openpilot' with: - message: | + repo-token: ${{ secrets.GITHUB_TOKEN }} + pr-message: | Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following: * Convert your PR to a draft unless it's ready to review @@ -49,5 +50,4 @@ jobs: * all the tests are passing * the change is [something we merge](https://github.com/commaai/openpilot/blob/master/docs/CONTRIBUTING.md#what-gets-merged) * include a route or your device' dongle ID if relevant - comment_tag: run_id - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +