mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
Maintain item status in project automation (#32785)
This commit is contained in:
parent
731023ab43
commit
cb46e077c0
8
.github/workflows/update-project-items.ps1
vendored
8
.github/workflows/update-project-items.ps1
vendored
@ -54,9 +54,11 @@ switch ($github.event_name) {
|
||||
$proposer = $github.event.sender.login
|
||||
Write-Information "Updating issue as 'Proposed for iteration' by @$proposer"
|
||||
|
||||
$item |
|
||||
Set-GitHubBetaProjectItemField -Name 'Status' -Value 'Proposed for iteration' |
|
||||
Set-GitHubBetaProjectItemField -Name 'Proposed by' -Value $proposer
|
||||
if ($item.Fields['Status'] -notin 'In Progress', 'In Review', 'Done') {
|
||||
$item |
|
||||
Set-GitHubBetaProjectItemField -Name 'Status' -Value 'Proposed for iteration' |
|
||||
Set-GitHubBetaProjectItemField -Name 'Proposed by' -Value $proposer
|
||||
}
|
||||
|
||||
# Post Slack message
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user