Skip to content

Commit

Permalink
Add automation to move messages bubbles issues to the message bubbles…
Browse files Browse the repository at this point in the history
… board (#4667)

* Add automation to move message bubbles issues to bubbles board

* Add changelog entry

Changelog entry to note new automation to move message bubbles issues to message bubbles board
  • Loading branch information
daniellekirkwood authored Dec 9, 2021
1 parent 7c2bae3 commit 2c8cc3e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/triage-move-labelled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,26 @@ jobs:
env:
PROJECT_ID: "PN_kwDOAM0swc0rRA"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}

move_message_bubbles_issues:
name: A-Message-Bubbles to Message bubbles board
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'A-Message-Bubbles')
steps:
- uses: octokit/[email protected]
with:
headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: |
mutation add_to_project($projectid:String!,$contentid:String!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) {
projectNextItem {
id
}
}
}
projectid: ${{ env.PROJECT_ID }}
contentid: ${{ github.event.issue.node_id }}
env:
PROJECT_ID: "PN_kwDOAM0swc3m-g"
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
1 change: 1 addition & 0 deletions changelog.d/4666.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add automation to move message bubbles issues to message bubbles board.

0 comments on commit 2c8cc3e

Please sign in to comment.