Create main.yml#334
Conversation
Trying to create an action for when an issue is assigned to a UXer, it auto adds a UX label. Long, confusing story about why but this will solve a problem for me.
|
|
||
| steps: | ||
| - name: Add UX label | ||
| uses: actions-ecosystem/action-add-labels@v1 |
There was a problem hiding this comment.
| uses: actions-ecosystem/action-add-labels@v1 | |
| uses: actions-ecosystem/action-add-labels@bd52874380e3909a1ac983768df6976535ece7f8 #v1.1.0 |
It's safer to pin a specific commit for security reasons! It looks like this repo had some tags get rearranged behavior recently (actions-ecosystem/action-add-labels#485) so better to be safe than sorry.
There was a problem hiding this comment.
Can we rename this file? "main.yml" isn't super descriptive, maybe "ux-label.yml" instead?
There was a problem hiding this comment.
definitely rename. this isn't the main workflow of this repo
| contains(toJson(github.event.issue.assignees), 'traviskroeker') || | ||
| contains(toJson(github.event.issue.assignees), 'thao-do') || | ||
| contains(toJson(github.event.issue.assignees), 'lynwilhelm') |
There was a problem hiding this comment.
Hmm... I wonder if there should be a document somewhere where we record all the places that might need to be updated if a new UX member gets added.
@lynwilhelm do you plan to add this to other repos too?
There was a problem hiding this comment.
My workflow usually is to put a UX label on it first, before ever assigning it to anyone. This seems like it's the reverse of that. Should we have an action that detects the ux label, and then adds the ticket to a project somewhere? Or maybe auto-assigns someone? As part of our github reorg, there will be a ux github team (https://github.com/orgs/AllenCell/teams/ux-team).
toloudis
left a comment
There was a problem hiding this comment.
added a couple of comments
Trying to create an action for when an issue is assigned to a UXer, it auto adds a UX label. Long, confusing story about why but this will solve a problem for me.
I have no idea what I'm doing here but hoping this works!
Pull request recommendations:
Thanks for contributing!