mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Added a workflow to remove Z-Labs label. (#20465)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
This commit is contained in:
parent
c27cdcf849
commit
672ca16428
26
.github/workflows/triage-move-unlabelled.yml
vendored
26
.github/workflows/triage-move-unlabelled.yml
vendored
@ -33,3 +33,29 @@ jobs:
|
|||||||
project: Issue triage
|
project: Issue triage
|
||||||
column: Triaged
|
column: Triaged
|
||||||
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
|
remove_Z-Labs_label:
|
||||||
|
name: Remove Z-Labs label when features behind labs flags are removed
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: >
|
||||||
|
!(contains(github.event.issue.labels.*.name, 'A-Maths') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Message-Pinning') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Threads') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Polls') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Location-Sharing') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Message-Bubbles') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'Z-Maximised-Widgets') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'Z-IA') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Themes-Custom') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Tags'))
|
||||||
|
steps:
|
||||||
|
- uses: actions/github-script@v5
|
||||||
|
with:
|
||||||
|
script: |
|
||||||
|
github.rest.issues.removeLabel({
|
||||||
|
issue_number: context.issue.number,
|
||||||
|
owner: context.repo.owner,
|
||||||
|
repo: context.repo.repo,
|
||||||
|
name: ['Z-Labs']
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user