Skip to content

Commit 7f705e4

Browse files
authored
add gis (#13)
added 2 secrets PROJECT_APP_ID PROJECT_APP_KEY
1 parent 0dbdc4b commit 7f705e4

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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: stale-issues-finder

0 commit comments

Comments
 (0)