2022-04-25 10:27:44 +02:00
|
|
|
name: Move labelled issues to correct boards and columns
|
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [labeled]
|
|
|
|
|
|
|
|
jobs:
|
2023-02-14 11:47:33 +01:00
|
|
|
ex_plorers:
|
|
|
|
name: Add labelled issues to X-Plorer project
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: >
|
|
|
|
contains(github.event.issue.labels.*.name, 'Team: Element X Feature')
|
|
|
|
steps:
|
2023-04-25 11:43:58 +01:00
|
|
|
- uses: actions/add-to-project@main
|
2023-02-14 11:47:33 +01:00
|
|
|
with:
|
2023-12-12 14:34:44 +00:00
|
|
|
project-url: https://github.com/orgs/element-hq/projects/73
|
2023-04-25 11:43:58 +01:00
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
2023-02-22 10:03:42 +00:00
|
|
|
|
|
|
|
verticals_feature:
|
|
|
|
name: Add labelled issues to Verticals Feature project
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: >
|
|
|
|
contains(github.event.issue.labels.*.name, 'Team: Verticals Feature')
|
|
|
|
steps:
|
2023-04-25 11:43:58 +01:00
|
|
|
- uses: actions/add-to-project@main
|
2023-02-22 10:03:42 +00:00
|
|
|
with:
|
2023-12-12 14:34:44 +00:00
|
|
|
project-url: https://github.com/orgs/element-hq/projects/57
|
2023-04-25 11:43:58 +01:00
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
|
|
|
|
platform:
|
|
|
|
name: Add labelled issues to EX project
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: >
|
|
|
|
contains(github.event.issue.labels.*.name, 'Team: Element X Platform')
|
|
|
|
steps:
|
|
|
|
- uses: actions/add-to-project@main
|
|
|
|
with:
|
2023-12-12 14:34:44 +00:00
|
|
|
project-url: https://github.com/orgs/element-hq/projects/43
|
2023-04-25 11:43:58 +01:00
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
|
|
|
|
qa:
|
|
|
|
name: Add labelled issues to QA project
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: >
|
2023-05-26 11:39:55 +01:00
|
|
|
contains(github.event.issue.labels.*.name, 'Team: QA') ||
|
|
|
|
contains(github.event.issue.labels.*.name, 'X-Needs-Signoff')
|
2023-04-25 11:43:58 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/add-to-project@main
|
|
|
|
with:
|
2023-12-12 14:34:44 +00:00
|
|
|
project-url: https://github.com/orgs/element-hq/projects/69
|
2023-04-25 11:43:58 +01:00
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
2023-05-26 11:39:55 +01:00
|
|
|
|
|
|
|
signoff:
|
|
|
|
name: Add labelled issues to signoff project
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: >
|
|
|
|
contains(github.event.issue.labels.*.name, 'X-Needs-Signoff')
|
|
|
|
steps:
|
|
|
|
- uses: actions/add-to-project@main
|
|
|
|
with:
|
2023-12-12 14:34:44 +00:00
|
|
|
project-url: https://github.com/orgs/element-hq/projects/89
|
2023-05-26 11:39:55 +01:00
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|