mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-30 15:50:53 +08:00
8af92a4091
Add automation for * labelling Labs issues * adding design and product issues to boards * adding design and product PRs to boards * adding UISI issues to Crypto team board Fixes issue #4949
61 lines
2.9 KiB
YAML
61 lines
2.9 KiB
YAML
name: Move P1 bugs to boards
|
|
|
|
on:
|
|
issues:
|
|
types: [labeled, unlabeled]
|
|
|
|
jobs:
|
|
p1_issues_to_team_workboard:
|
|
runs-on: ubuntu-latest
|
|
# Skip in forks
|
|
if: >
|
|
github.repository == 'vector-im/element-android' &&
|
|
(!contains(github.event.issue.labels.*.name, 'A-E2EE') &&
|
|
!contains(github.event.issue.labels.*.name, 'A-E2EE-Cross-Signing') &&
|
|
!contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') &&
|
|
!contains(github.event.issue.labels.*.name, 'A-E2EE-Key-Backup') &&
|
|
!contains(github.event.issue.labels.*.name, 'A-E2EE-SAS-Verification') &&
|
|
!contains(github.event.issue.labels.*.name, 'A-Spaces') &&
|
|
!contains(github.event.issue.labels.*.name, 'A-Spaces-Settings') &&
|
|
!contains(github.event.issue.labels.*.name, 'A-Subspaces')) &&
|
|
(contains(github.event.issue.labels.*.name, 'T-Defect') &&
|
|
contains(github.event.issue.labels.*.name, 'S-Critical') &&
|
|
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
|
contains(github.event.issue.labels.*.name, 'O-Occasional')) ||
|
|
contains(github.event.issue.labels.*.name, 'S-Major') &&
|
|
contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
|
contains(github.event.issue.labels.*.name, 'A11y') &&
|
|
contains(github.event.issue.labels.*.name, 'O-Frequent'))
|
|
steps:
|
|
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
|
|
with:
|
|
project: Android App Team
|
|
column: P1
|
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
P1_issues_to_crypto_team_workboard:
|
|
runs-on: ubuntu-latest
|
|
# Skip in forks
|
|
if: >
|
|
github.repository == 'vector-im/element-android' &&
|
|
(contains(github.event.issue.labels.*.name, 'Z-UISI') ||
|
|
(contains(github.event.issue.labels.*.name, 'A-E2EE') ||
|
|
contains(github.event.issue.labels.*.name, 'A-E2EE-Cross-Signing') ||
|
|
contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') ||
|
|
contains(github.event.issue.labels.*.name, 'A-E2EE-Key-Backup') ||
|
|
contains(github.event.issue.labels.*.name, 'A-E2EE-SAS-Verification')) &&
|
|
(contains(github.event.issue.labels.*.name, 'T-Defect') &&
|
|
contains(github.event.issue.labels.*.name, 'S-Critical') &&
|
|
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
|
contains(github.event.issue.labels.*.name, 'O-Occasional')) ||
|
|
contains(github.event.issue.labels.*.name, 'S-Major') &&
|
|
contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
|
contains(github.event.issue.labels.*.name, 'A11y') &&
|
|
contains(github.event.issue.labels.*.name, 'O-Frequent')))
|
|
steps:
|
|
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
|
|
with:
|
|
project: Crypto Team
|
|
column: Ready
|
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|