We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 468a54b commit 1a81f7fCopy full SHA for 1a81f7f
.github/workflows/github-issue-sync.yml
@@ -0,0 +1,32 @@
1
+name: GitHub Issue Sync
2
+
3
+on:
4
+ issues:
5
+ types:
6
+ - opened
7
+ - labeled
8
+ workflow_dispatch:
9
+ inputs:
10
+ excludeClosed:
11
+ description: 'Exclude closed issues in the sync.'
12
+ type: boolean
13
+ default: true
14
15
+jobs:
16
+ sync:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Generate token
20
+ id: generate_token
21
+ uses: tibdex/github-app-token@v1
22
+ with:
23
+ app_id: ${{ secrets.PROJECT_APP_ID }}
24
+ private_key: ${{ secrets.PROJECT_APP_KEY }}
25
+ - name: Sync issues
26
+ uses: paritytech/[email protected]
27
28
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
+ PROJECT_TOKEN: ${{ steps.generate_token.outputs.token }}
30
+ project: 16
31
+ project_field: Tool
32
+ project_value: github-issue-sync
0 commit comments