Add automation to move Element-R issues to crypto board (#26398)
This commit is contained in:
parent
f8b6364694
commit
b24a25b8b9
1 changed files with 23 additions and 0 deletions
23
.github/workflows/triage-labelled.yml
vendored
23
.github/workflows/triage-labelled.yml
vendored
|
@ -136,3 +136,26 @@ jobs:
|
||||||
with:
|
with:
|
||||||
project-url: https://github.com/orgs/vector-im/projects/101
|
project-url: https://github.com/orgs/vector-im/projects/101
|
||||||
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
|
element_r:
|
||||||
|
name: Add Element R issues to Crypto Team board
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: >
|
||||||
|
contains(github.event.issue.labels.*.name, 'A-Element-R') ||
|
||||||
|
steps:
|
||||||
|
- id: add_to_project
|
||||||
|
uses: actions/add-to-project@v0.5.0
|
||||||
|
with:
|
||||||
|
project_url: ${{ env.PROJECT_URL }}
|
||||||
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
|
- id: set_fields
|
||||||
|
uses: titoportas/update-project-fields@020b5aa9db8f9501d4b16d6417c2132ff26e6279 # v0.1.0
|
||||||
|
with:
|
||||||
|
project_url: ${{ env.PROJECT_URL }}
|
||||||
|
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
item-id: ${{ steps.add_to_project.outputs.itemId }} # Use the item-id output of the previous step
|
||||||
|
field-keys: Workstream,module
|
||||||
|
field-values: Element-R,web
|
||||||
|
env:
|
||||||
|
PROJECT_URL: https://github.com/orgs/vector-im/projects/76
|
||||||
|
|
Loading…
Reference in a new issue