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

MAYA-105122 trigger only on assignment to ecp-maya-devops-adsk #565

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

smithw-adsk
Copy link
Collaborator

@smithw-adsk smithw-adsk commented Jun 4, 2020

The diff looks bad. The real change is only 2 lines:

runs-on: ubuntu-latest
if: contains(toJson(github.event.pull_request.assignee), 'ecp-maya-devops-adsk')

I took out the runs-on matrix for simplicity.
The if: condition makes the GitHub Actions build show as "skipped" instead of "failed", which is nice. You can see an example here: https://github.com/smithw-adsk/maya-usd/pull/16

@kxl-adsk
Copy link

kxl-adsk commented Jun 4, 2020

Awesome. Thank you @smithw-adsk !

@kxl-adsk kxl-adsk merged commit 24ba88d into dev Jun 4, 2020
@kxl-adsk kxl-adsk deleted the smithw/MAYA-105122/trigger-on-specific-user branch June 4, 2020 19:55
@kxl-adsk kxl-adsk added the build Related to building maya-usd repository label Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to building maya-usd repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants