diff --git a/.github/workflows/asana.yml b/.github/workflows/asana.yml index 7063129..7df2083 100644 --- a/.github/workflows/asana.yml +++ b/.github/workflows/asana.yml @@ -70,7 +70,7 @@ jobs: move-to-in-review-asana-ticket-job: runs-on: ubuntu-latest needs: check-for-secrets - if: inputs.review-section != '' && needs.check-for-secrets.outputs.has-asana-token == 'yes' && github.event.action == 'review_requested' && !github.event.pull_request.draft && github.actor != 'dependabot[bot]' + if: inputs.review-section != '' && needs.check-for-secrets.outputs.has-asana-token == 'yes' && (github.event.action == 'review_requested' || github.event.action == 'ready_for_review' && (toJson(github.event.pull_request.requested_reviewers) != '[]' || toJson(github.event.pull_request.requested_teams) != '[]')) && !github.event.pull_request.draft && github.actor != 'dependabot[bot]' steps: - name: Move ticket on review requested uses: mbta/github-asana-action@v4.4.1