Skip to content

Investigate race-condition between a pushed commit and a review #67

Investigate race-condition between a pushed commit and a review

Investigate race-condition between a pushed commit and a review #67

name: GitHub Issue Sync
on:
issues:
types:
- opened
- labeled
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/create-github-app-token@v1.9.3
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: 16
project_field: Tool
project_value: review-bot