|
5 | 5 | types: [labeled] |
6 | 6 |
|
7 | 7 | jobs: |
8 | | - apply_Z-Labs_label: |
9 | | - name: Add Z-Labs label for features behind labs flags |
10 | | - runs-on: ubuntu-latest |
11 | | - if: > |
12 | | - contains(github.event.issue.labels.*.name, 'A-Maths') || |
13 | | - contains(github.event.issue.labels.*.name, 'A-Message-Pinning') || |
14 | | - contains(github.event.issue.labels.*.name, 'A-Threads') || |
15 | | - contains(github.event.issue.labels.*.name, 'A-Polls') || |
16 | | - contains(github.event.issue.labels.*.name, 'A-Location-Sharing') || |
17 | | - contains(github.event.issue.labels.*.name, 'A-Message-Bubbles') || |
18 | | - contains(github.event.issue.labels.*.name, 'Z-IA') || |
19 | | - contains(github.event.issue.labels.*.name, 'A-Themes-Custom') || |
20 | | - contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') || |
21 | | - contains(github.event.issue.labels.*.name, 'A-Tags') |
22 | | - steps: |
23 | | - - uses: actions/github-script@v5 |
24 | | - with: |
25 | | - script: | |
26 | | - github.rest.issues.addLabels({ |
27 | | - issue_number: context.issue.number, |
28 | | - owner: context.repo.owner, |
29 | | - repo: context.repo.repo, |
30 | | - labels: ['Z-Labs'] |
31 | | - }) |
32 | | -
|
33 | | - add_design_issues_to_project: |
34 | | - name: X-Needs-Design to Design project board |
35 | | - runs-on: ubuntu-latest |
36 | | - if: > |
37 | | - contains(github.event.issue.labels.*.name, 'X-Needs-Design') && |
38 | | - (contains(github.event.issue.labels.*.name, 'S-Critical') && |
39 | | - (contains(github.event.issue.labels.*.name, 'O-Frequent') || |
40 | | - contains(github.event.issue.labels.*.name, 'O-Occasional')) || |
41 | | - contains(github.event.issue.labels.*.name, 'S-Major') && |
42 | | - contains(github.event.issue.labels.*.name, 'O-Frequent') || |
43 | | - contains(github.event.issue.labels.*.name, 'A11y')) |
44 | | - steps: |
45 | | - - uses: actions/add-to-project@main |
46 | | - with: |
47 | | - project-url: https://github.com/orgs/element-hq/projects/18 |
48 | | - github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} |
49 | | - |
50 | | - add_product_issues: |
51 | | - name: X-Needs-Product to Design project board |
52 | | - runs-on: ubuntu-latest |
53 | | - if: > |
54 | | - contains(github.event.issue.labels.*.name, 'X-Needs-Product') |
55 | | - steps: |
56 | | - - uses: actions/add-to-project@main |
57 | | - with: |
58 | | - project-url: https://github.com/orgs/element-hq/projects/28 |
59 | | - github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} |
60 | 8 |
|
61 | 9 | ex_platform: |
62 | 10 | name: Add labelled issues to EX platform project |
|
77 | 25 | steps: |
78 | 26 | - uses: actions/add-to-project@main |
79 | 27 | with: |
80 | | - project-url: https://github.com/orgs/element-hq/projects/41 |
81 | | - github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} |
82 | | - |
83 | | - qa: |
84 | | - name: Add labelled issues to QA project |
85 | | - runs-on: ubuntu-latest |
86 | | - if: > |
87 | | - contains(github.event.issue.labels.*.name, 'Team: QA') || |
88 | | - contains(github.event.issue.labels.*.name, 'X-Needs-Signoff') |
89 | | - steps: |
90 | | - - uses: actions/add-to-project@main |
91 | | - with: |
92 | | - project-url: https://github.com/orgs/element-hq/projects/69 |
93 | | - github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} |
94 | | - |
95 | | - signoff: |
96 | | - name: Add labelled issues to signoff project |
97 | | - runs-on: ubuntu-latest |
98 | | - if: > |
99 | | - contains(github.event.issue.labels.*.name, 'X-Needs-Signoff') |
100 | | - steps: |
101 | | - - uses: actions/add-to-project@main |
102 | | - with: |
103 | | - project-url: https://github.com/orgs/element-hq/projects/89 |
| 28 | + project-url: https://github.com/orgs/element-hq/projects/139 |
104 | 29 | github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} |
0 commit comments