-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5121 from daniellekirkwood/develop
Update workflow for FTUE issues on FTUE board
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,3 +202,53 @@ jobs: | |
env: | ||
PROJECT_ID: "PN_kwDOAM0swc3m-g" | ||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
|
||
move_ftue_issues: | ||
name: Z-FTUE to Mobile FTUE board | ||
runs-on: ubuntu-latest | ||
# Skip in forks | ||
if: > | ||
github.repository == 'vector-im/element-android' && | ||
contains(github.event.issue.labels.*.name, 'Z-FTUE') | ||
steps: | ||
- uses: octokit/[email protected] | ||
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_kwDOAM0swc4AAqVx" | ||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} | ||
|
||
move_WTF_issues: | ||
name: Z-WTF to WTF board | ||
runs-on: ubuntu-latest | ||
# Skip in forks | ||
if: > | ||
github.repository == 'vector-im/element-android' && | ||
contains(github.event.issue.labels.*.name, 'Z-FTUE') | ||
steps: | ||
- uses: octokit/[email protected] | ||
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_kwDOAM0swc4AArk0" | ||
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added automation for the Z-FTUE label to add issues to the FTUE Project Board |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added automation for WTF labels to move to WTF project board |