File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : GitHub Issue Sync
2+
3+ on :
4+ issues :
5+ types :
6+ - opened
7+ workflow_dispatch :
8+ inputs :
9+ excludeClosed :
10+ description : ' Exclude closed issues in the sync.'
11+ type : boolean
12+ default : true
13+
14+ jobs :
15+ sync :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Generate token
19+ id : generate_token
20+ uses : tibdex/github-app-token@v1
21+ with :
22+ app_id : ${{ secrets.PROJECT_APP_ID }}
23+ private_key : ${{ secrets.PROJECT_APP_KEY }}
24+ - name : Sync issues
25+ uses :
paritytech/[email protected] 26+ with :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ PROJECT_TOKEN : ${{ steps.generate_token.outputs.token }}
29+ project : 16
30+ project_field : Tool
31+ project_value : pipeline-scripts
Original file line number Diff line number Diff line change 11# Introduction
22
3+ [ ![ GitHub Issue Sync] ( https://github.com/paritytech/pipeline-scripts/actions/workflows/github-issue-sync.yml/badge.svg )] ( https://github.com/paritytech/pipeline-scripts/actions/workflows/github-issue-sync.yml )
4+
35This repository hosts reusable scripts (that is, scripts which are useful for
46many repositories) for our CI pipelines.
57
You can’t perform that action at this time.
0 commit comments