Files
pezkuwi-subxt/.github/workflows/auto-add-parachain-issues.yml
T
Przemek Rzad aa43797437 Use Github Issue Sync to automate issues in Parachain board (#3694)
This workflow will automatically add issues related to async backing to
the Parachain team board, updating a custom "meta" field.

Requested by @the-right-joyce
2024-04-13 09:33:37 +00:00

31 lines
945 B
YAML

# If there are new issues related to the async backing feature,
# add it to the parachain team's board and set a custom "meta" field.
name: Add selected issues to Parachain team board
on:
issues:
types:
- labeled
jobs:
add-parachain-issues:
if: github.event.label.name == 'T16-async_backing'
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v2.1.0
with:
app_id: ${{ secrets.PROJECT_APP_ID }}
private_key: ${{ secrets.PROJECT_APP_KEY }}
- name: Sync issues
uses: paritytech/github-issue-sync@v0.3.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROJECT_TOKEN: ${{ steps.generate_token.outputs.token }}
project: 119 # Parachain team board
project_field: 'meta'
project_value: 'async backing'
labels: |
T16-async_backing