Skip to content

Commit

Permalink
feat(asana): support state transition from draft -> ready_for_review …
Browse files Browse the repository at this point in the history
…with reviewers already set
  • Loading branch information
meagharty committed Feb 5, 2024
1 parent ba1de66 commit e997380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/asana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit e997380

Please sign in to comment.