Light Client Extension: sending transactions #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: tibdex/github-app-token@v1 | |
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: 27 | |
project_field: Status | |
project_value: Draft |