mergegate/.github/workflows/project-sync.yml
2025-11-22 17:07:16 +09:00

21 lines
520 B
YAML

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 }}