chore: Add workflow project-sync.yml

This commit is contained in:
Shunsuke Hayashi 2025-11-22 17:07:16 +09:00
parent 8d69c037d2
commit 91b85e095b

21
.github/workflows/project-sync.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Sync Issues to Project
on:
issues:
types: [opened, labeled, unlabeled, closed, reopened]
pull_request:
types: [opened, closed, reopened]
jobs:
sync-to-project:
runs-on: ubuntu-latest
permissions:
issues: read
pull-requests: read
steps:
- name: Sync to GitHub Projects
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/${{ github.repository_owner }}/projects/1
github-token: ${{ secrets.GITHUB_TOKEN }}