Skip to content

Commit dc70355

Browse files
committed
ci: add an action to add PR to the project
1 parent 3ecdf0d commit dc70355

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Diff for: .github/workflows/sync_prs.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Automate PR Management
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened]
6+
7+
jobs:
8+
add_to_project:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Checkout script repository
16+
uses: actions/checkout@v4
17+
with:
18+
repository: Seeed-Studio/sync-github-all-issues
19+
path: ci
20+
21+
- name: Run script
22+
run: ./ci/tools/addPr2Project.sh
23+
env:
24+
PROJECT_ID: "17"
25+
URL: ${{ github.event.pull_request.html_url }}
26+
GITHUB_TOKEN: ${{ secrets.PR_ASSEMBLE }}

0 commit comments

Comments
 (0)