Skip to content

Commit

Permalink
ci: add an action to add PR to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesords committed Dec 31, 2024
1 parent 0c02bd5 commit 7c231d4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/sync_prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Automate PR Management

on:
pull_request:
types: [opened, reopened]

jobs:
add_to_project:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Checkout script repository
uses: actions/checkout@v4
with:
repository: Seeed-Studio/sync-github-all-issues
path: ci

- name: Run script
run: ./ci/tools/addPr2Project.sh
env:
PROJECT_ID: "17"
URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.PR_ASSEMBLE }}

0 comments on commit 7c231d4

Please sign in to comment.