From 61a6ba26b156ff62c1ddf18d69ecdc14cadb9327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 18 Jun 2024 19:01:31 +0200 Subject: [PATCH] Simplify dependabot condition in pronto workflow We had the `*` because, in the past, pull request could be opened by either dependabot or dependabot-bot. That's no longer the case since we started using dependabot v2. --- .github/workflows/pronto.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pronto.yml b/.github/workflows/pronto.yml index 5cf1e4d07..34eac27c7 100644 --- a/.github/workflows/pronto.yml +++ b/.github/workflows/pronto.yml @@ -22,7 +22,7 @@ jobs: run: npm clean-install - name: Run pronto run: | - if [[ ${{ github.event.pull_request.head.repo.full_name }} == ${{ github.event.pull_request.base.repo.full_name }} && ${{ github.actor }} != dependabot* ]]; then + if [[ ${{ github.event.pull_request.head.repo.full_name }} == ${{ github.event.pull_request.base.repo.full_name }} && ${{ github.actor }} != dependabot ]]; then PRONTO_PULL_REQUEST_ID="$(jq --raw-output .number "$GITHUB_EVENT_PATH")" PRONTO_GITHUB_ACCESS_TOKEN="${{ github.token }}" bundle exec pronto run -f github_status github_pr -c origin/${{ github.base_ref }} else bundle exec pronto run --exit-code -c origin/${{ github.base_ref }}