Skip to content
Snippets Groups Projects
Unverified Commit aa437974 authored by Przemek Rzad's avatar Przemek Rzad Committed by GitHub
Browse files

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
parent 7c698502
Branches
No related merge requests found
Pipeline #465319 passed with warnings with stages
in 44 minutes and 22 seconds
# 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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment