Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(asana): support state transition from draft -> ready_for_review … #25

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

meagharty
Copy link
Contributor

@meagharty meagharty commented Feb 5, 2024

@meagharty meagharty requested review from a team, nlwstein and bklebe and removed request for a team February 5, 2024 15:18
@meagharty
Copy link
Contributor Author

Adding @bklebe since Nick is OOO

@@ -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]'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is entirely not your fault but I wish they gave us a cleaner way to evaluate and work with arrays. The hack is clever, though 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes agreed!

@meagharty meagharty merged commit b6ee5ab into main Feb 6, 2024
2 checks passed
@meagharty meagharty deleted the meag/asana-draft-back-in-review-fix branch February 6, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants