|
|
|
name: Move labelled issues to correct boards and columns
|
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [labeled]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
move_element_x_issues:
|
|
|
|
name: ElementX issues to ElementX project board
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
# Skip in forks
|
|
|
|
if: >
|
|
|
|
github.repository == 'vector-im/element-x-android'
|
|
|
|
steps:
|
|
|
|
- uses: actions/add-to-project@main
|
|
|
|
with:
|
|
|
|
project-url: https://github.com/orgs/vector-im/projects/43
|
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
|
|
|
|
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:
|
|
|
|
- uses: actions/add-to-project@main
|
|
|
|
with:
|
|
|
|
project-url: https://github.com/orgs/vector-im/projects/73
|
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
|
|
|
|
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:
|
|
|
|
- uses: actions/add-to-project@main
|
|
|
|
with:
|
|
|
|
project-url: https://github.com/orgs/vector-im/projects/57
|
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
|
|
|
|
qa:
|
|
|
|
name: Add labelled issues to QA project
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: >
|
|
|
|
contains(github.event.issue.labels.*.name, 'Team: QA')
|
|
|
|
steps:
|
|
|
|
- uses: actions/add-to-project@main
|
|
|
|
with:
|
|
|
|
project-url: https://github.com/orgs/vector-im/projects/69
|
|
|
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|