-
Notifications
You must be signed in to change notification settings - Fork 407
Add issues and pull requests to the current release project #2131
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2131 +/- ##
==========================================
+ Coverage 92.72% 92.73% +<.01%
==========================================
Files 207 207
Lines 12053 12053
Branches 1764 1764
==========================================
+ Hits 11176 11177 +1
+ Misses 877 876 -1
Continue to review full report at Codecov.
|
|
Tested with #2132. Looks like it added itself to the release project correctly ⚡ |
vanessayuenn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excited to see how this will work! Something that would be neat is to add an action triggered by us unassigning issues, which will take the issue off the current project board. It's just an 💡 idea 💡 though.
| query { | ||
| repository(owner: "atom", name: "github") { | ||
| projects( | ||
| search: "Release" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the matching be case sensitive, then? And is this search only on the name of the project board?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The search is only on the name of the board:
https://developer.github.com/v4/object/repository/, search for "projects"
Query to search projects by, currently only searching by name.
I'm not sure if it's case sensitive or not, though? The one I tested with was an exact case match 🤔
| args = "action 'opened|merged|assigned|reopened'" | ||
| } | ||
|
|
||
| action "Add pull request to release board" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are "add" vs "consider" distinguished here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically, "consider" filters on the event's action to determine whether or not it should result in a release board addition; "add" does the actual addition.
More GitHub Action fun ⚡
This one will run each time we assign an issue or open a pull request. It'll add the issue or pull request to the current release project board so we keep that as an accurate record of the work that's been done within each release cycle.