2021-12-02 21:44:25 +08:00
|
|
|
name: Move P1 bugs to boards
|
2021-11-16 17:57:17 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
2022-01-04 18:19:30 +08:00
|
|
|
types: [labeled, unlabeled]
|
2021-11-16 17:57:17 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
p1_issues_to_team_workboard:
|
|
|
|
runs-on: ubuntu-latest
|
2022-01-04 18:19:30 +08:00
|
|
|
# Skip in forks
|
|
|
|
if: >
|
|
|
|
github.repository == 'vector-im/element-android' &&
|
2021-12-18 00:18:39 +08:00
|
|
|
(!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') &&
|
2022-06-08 18:03:26 +08:00
|
|
|
!contains(github.event.issue.labels.*.name, 'A-E2EE-SAS-Verification')) &&
|
2021-12-18 00:18:39 +08:00
|
|
|
(contains(github.event.issue.labels.*.name, 'T-Defect') &&
|
|
|
|
contains(github.event.issue.labels.*.name, 'S-Critical') &&
|
|
|
|
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
2021-11-16 17:57:17 +08:00
|
|
|
contains(github.event.issue.labels.*.name, 'O-Occasional')) ||
|
2021-12-18 00:18:39 +08:00
|
|
|
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'))
|
2021-11-16 17:57:17 +08:00
|
|
|
steps:
|
2023-01-31 18:29:25 +08:00
|
|
|
- uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43
|
2021-11-16 17:57:17 +08:00
|
|
|
with:
|
|
|
|
project: Android App Team
|
2022-09-07 16:36:59 +08:00
|
|
|
column: Important Issues & Topics (P1)
|
2021-11-16 17:57:17 +08:00
|
|
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
|
|
|
|
P1_issues_to_crypto_team_workboard:
|
|
|
|
runs-on: ubuntu-latest
|
2022-01-04 18:19:30 +08:00
|
|
|
# Skip in forks
|
|
|
|
if: >
|
|
|
|
github.repository == 'vector-im/element-android' &&
|
2022-01-16 07:26:18 +08:00
|
|
|
(contains(github.event.issue.labels.*.name, 'Z-UISI') ||
|
|
|
|
(contains(github.event.issue.labels.*.name, 'A-E2EE') ||
|
2021-12-18 00:18:39 +08:00
|
|
|
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') ||
|
2021-11-16 17:57:17 +08:00
|
|
|
contains(github.event.issue.labels.*.name, 'O-Occasional')) ||
|
2021-12-18 00:18:39 +08:00
|
|
|
contains(github.event.issue.labels.*.name, 'S-Major') &&
|
|
|
|
contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
|
|
|
contains(github.event.issue.labels.*.name, 'A11y') &&
|
2022-01-16 07:26:18 +08:00
|
|
|
contains(github.event.issue.labels.*.name, 'O-Frequent')))
|
2021-11-16 17:57:17 +08:00
|
|
|
steps:
|
2023-01-31 18:29:25 +08:00
|
|
|
- uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43
|
2021-11-16 17:57:17 +08:00
|
|
|
with:
|
|
|
|
project: Crypto Team
|
|
|
|
column: Ready
|
|
|
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|