Chore: Add command to remove issue from project in GH actions (#43595)

Co-authored-by: natellium <natalia.bernarte@grafana.com>
This commit is contained in:
Maria Alexandra 2021-12-30 17:45:27 +01:00 committed by GitHub
parent c68b6698ff
commit 739e9d88d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

16
.github/commands.json vendored
View File

@ -161,5 +161,21 @@
"addToProject":{
"url":"https://github.com/orgs/grafana/projects/54"
}
},
{
"type":"label",
"name":"oss-user-essentials",
"action":"removeFromProject",
"addToProject":{
"url":"https://github.com/orgs/grafana/projects/78"
}
},
{
"type":"label",
"name":"oss-user-essentials",
"action":"removeFromProject",
"addToProject":{
"url":"https://github.com/grafana/grafana/projects/33"
}
}
]

View File

@ -1,7 +1,7 @@
name: Run commands when issues are labeled or comments added
on:
issues:
types: [labeled]
types: [labeled, unlabeled]
issue_comment:
types: [created]