Skip to content

Commit e5d1f4a

Browse files
Copilotdevlux76
andcommitted
Add sync-github-project.yml workflow to auto-create GitHub issues from TODO.md
Co-authored-by: devlux76 <86517969+devlux76@users.noreply.github.com>
1 parent 378fec2 commit e5d1f4a

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Sync GitHub Project
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "TODO.md"
9+
workflow_dispatch:
10+
11+
permissions:
12+
issues: write
13+
contents: read
14+
15+
jobs:
16+
sync:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Node
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: "20"
26+
cache: "npm"
27+
28+
- name: Install dependencies
29+
run: npm ci
30+
31+
- name: Sync GitHub Project (milestones, labels, issues)
32+
env:
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
run: npm run sync:github-project

0 commit comments

Comments
 (0)