Update design team workflow to use beta board (#19647)
Try sending design issues to the beta board Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
This commit is contained in:
parent
0c3efaec9a
commit
8c227f61dd
1 changed files with 19 additions and 7 deletions
26
.github/workflows/triage-move-labelled.yml
vendored
26
.github/workflows/triage-move-labelled.yml
vendored
|
@ -16,23 +16,35 @@ jobs:
|
||||||
column-name: "Need info"
|
column-name: "Need info"
|
||||||
label-name: "X-Needs-Info"
|
label-name: "X-Needs-Info"
|
||||||
|
|
||||||
move_priority_design_issues:
|
add_priority_design_issues_to_project:
|
||||||
name: Move priority X-Needs-Design issues to Design project board
|
name: Move priority X-Needs-Design issues to Design project board
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
if: >
|
||||||
|
${{
|
||||||
contains(github.event.issue.labels.*.name, 'X-Needs-Design') &&
|
contains(github.event.issue.labels.*.name, 'X-Needs-Design') &&
|
||||||
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
||||||
contains(github.event.issue.labels.*.name, 'O-Occasional')) &&
|
contains(github.event.issue.labels.*.name, 'O-Occasional')) &&
|
||||||
(contains(github.event.issue.labels.*.name, 'S-Critical') ||
|
(contains(github.event.issue.labels.*.name, 'S-Critical') ||
|
||||||
contains(github.event.issue.labels.*.name, 'S-Major') ||
|
contains(github.event.issue.labels.*.name, 'S-Major') ||
|
||||||
contains(github.event.issue.labels.*.name, 'S-Minor'))
|
contains(github.event.issue.labels.*.name, 'S-Minor')) }}
|
||||||
steps:
|
steps:
|
||||||
- uses: konradpabjan/move-labeled-or-milestoned-issue@219d384e03fa4b6460cd24f9f37d19eb033a4338
|
- uses: octokit/graphql-action@v2.x
|
||||||
|
id: add_to_project
|
||||||
with:
|
with:
|
||||||
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}"
|
headers: '{"GraphQL-Features": "projects_next_graphql"}'
|
||||||
project-url: "https://github.com/orgs/vector-im/projects/14"
|
query: |
|
||||||
column-name: "📥 Inbox"
|
mutation add_to_project($projectid:String!,$contentid:String!) {
|
||||||
label-name: "X-Needs-Design"
|
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
|
||||||
|
projectNextItem {
|
||||||
|
id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
projectid: ${{ env.PROJECT_ID }}
|
||||||
|
contentid: ${{ github.event.issue.node_id }}
|
||||||
|
env:
|
||||||
|
PROJECT_ID: "PN_kwDOAM0swc0sUA"
|
||||||
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
move_spaces_issues:
|
move_spaces_issues:
|
||||||
name: Move Spaces issues to Delight project board
|
name: Move Spaces issues to Delight project board
|
||||||
|
|
Loading…
Reference in a new issue