From 26dfa1d290fd8019998f8b2cb74bf961fa2c7cc0 Mon Sep 17 00:00:00 2001 From: Alexandre Nobuharu Sato <66435071+AlexandreSato@users.noreply.github.com> Date: Sat, 31 Aug 2024 15:41:11 -0300 Subject: [PATCH] ci: Bot comment only for first timers (#1213) * ci: Bot comment only for first timers and collapsible sections for UI screenshots Added also implement collapsible sections for UI screenshots #33415 * fix * Update auto_pr_review.yaml --- .github/workflows/auto_pr_review.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto_pr_review.yaml b/.github/workflows/auto_pr_review.yaml index abcebd1d64..4585b98244 100644 --- a/.github/workflows/auto_pr_review.yaml +++ b/.github/workflows/auto_pr_review.yaml @@ -33,11 +33,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/opendbc' with: - message: | + repo-token: ${{ secrets.GITHUB_TOKEN }} + pr-message: | Thanks for contributing to opendbc! 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 @@ -46,5 +47,3 @@ jobs: * the goal is clearly stated in the description * all the tests are passing * include a route or your device' dongle ID if relevant - comment_tag: run_id - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}