Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

GitHub Issue Sync

GitHub Issue Sync #1

name: GitHub Issue Sync
on:
issues:
types:
- opened
workflow_dispatch:
inputs:
excludeClosed:
description: 'Exclude closed issues in the sync.'
type: boolean
default: true
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: actions/[email protected]
with:
app-id: ${{ secrets.PROJECT_APP_ID }}
private-key: ${{ secrets.PROJECT_APP_KEY }}
- name: Sync issues
uses: paritytech/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PROJECT_TOKEN: ${{ steps.generate_token.outputs.token }}
project: 16
project_field: Tool
project_value: command-bot