Remove spaces issues to delight board automation
This commit is contained in:
parent
e6beb73e3d
commit
0287153e56
|
@ -9,15 +9,15 @@ jobs:
|
||||||
name: Add Z-Labs label for features behind labs flags
|
name: Add Z-Labs label for features behind labs flags
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
if: >
|
||||||
contains(github.event.issue.labels.*.name, 'A-Maths') ||
|
contains(github.event.issue.labels.*.name, 'A-Maths') ||
|
||||||
contains(github.event.issue.labels.*.name, 'A-Message-Pinning') ||
|
contains(github.event.issue.labels.*.name, 'A-Message-Pinning') ||
|
||||||
contains(github.event.issue.labels.*.name, 'A-Polls') ||
|
contains(github.event.issue.labels.*.name, 'A-Polls') ||
|
||||||
contains(github.event.issue.labels.*.name, 'A-Location-Sharing') ||
|
contains(github.event.issue.labels.*.name, 'A-Location-Sharing') ||
|
||||||
contains(github.event.issue.labels.*.name, 'A-Message-Bubbles') ||
|
contains(github.event.issue.labels.*.name, 'A-Message-Bubbles') ||
|
||||||
contains(github.event.issue.labels.*.name, 'Z-IA') ||
|
contains(github.event.issue.labels.*.name, 'Z-IA') ||
|
||||||
contains(github.event.issue.labels.*.name, 'A-Themes-Custom') ||
|
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-E2EE-Dehydration') ||
|
||||||
contains(github.event.issue.labels.*.name, 'A-Tags')
|
contains(github.event.issue.labels.*.name, 'A-Tags')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v5
|
- uses: actions/github-script@v5
|
||||||
with:
|
with:
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
name: X-Needs-Product to Design project board
|
name: X-Needs-Product to Design project board
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: >
|
if: >
|
||||||
contains(github.event.issue.labels.*.name, 'X-Needs-Product')
|
contains(github.event.issue.labels.*.name, 'X-Needs-Product')
|
||||||
steps:
|
steps:
|
||||||
- uses: octokit/graphql-action@v2.x
|
- uses: octokit/graphql-action@v2.x
|
||||||
id: add_to_project
|
id: add_to_project
|
||||||
|
@ -99,34 +99,6 @@ jobs:
|
||||||
PROJECT_ID: "PN_kwDOAM0swc4AAg6N"
|
PROJECT_ID: "PN_kwDOAM0swc4AAg6N"
|
||||||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
delight_issues_to_board:
|
|
||||||
name: Spaces issues to Delight project board
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
# Skip in forks
|
|
||||||
if: >
|
|
||||||
github.repository == 'vector-im/element-android' &&
|
|
||||||
(contains(github.event.issue.labels.*.name, 'A-Spaces') ||
|
|
||||||
contains(github.event.issue.labels.*.name, 'A-Space-Settings') ||
|
|
||||||
contains(github.event.issue.labels.*.name, 'A-Subspaces') ||
|
|
||||||
contains(github.event.issue.labels.*.name, 'Z-IA'))
|
|
||||||
steps:
|
|
||||||
- uses: octokit/graphql-action@v2.x
|
|
||||||
with:
|
|
||||||
headers: '{"GraphQL-Features": "projects_next_graphql"}'
|
|
||||||
query: |
|
|
||||||
mutation add_to_project($projectid:ID!,$contentid:ID!) {
|
|
||||||
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
|
|
||||||
projectNextItem {
|
|
||||||
id
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
projectid: ${{ env.PROJECT_ID }}
|
|
||||||
contentid: ${{ github.event.issue.node_id }}
|
|
||||||
env:
|
|
||||||
PROJECT_ID: "PN_kwDOAM0swc1HvQ"
|
|
||||||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
||||||
|
|
||||||
move_voice-message_issues:
|
move_voice-message_issues:
|
||||||
name: A-Voice Messages to voice message board
|
name: A-Voice Messages to voice message board
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -201,7 +173,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
PROJECT_ID: "PN_kwDOAM0swc3m-g"
|
PROJECT_ID: "PN_kwDOAM0swc3m-g"
|
||||||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
move_ftue_issues:
|
move_ftue_issues:
|
||||||
name: Z-FTUE to Mobile FTUE board
|
name: Z-FTUE to Mobile FTUE board
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -15,9 +15,6 @@ jobs:
|
||||||
!contains(github.event.issue.labels.*.name, 'A-E2EE-Dehydration') &&
|
!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-Key-Backup') &&
|
||||||
!contains(github.event.issue.labels.*.name, 'A-E2EE-SAS-Verification') &&
|
!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, 'T-Defect') &&
|
||||||
contains(github.event.issue.labels.*.name, 'S-Critical') &&
|
contains(github.event.issue.labels.*.name, 'S-Critical') &&
|
||||||
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
||||||
|
|
Loading…
Reference in New Issue