chore: Add workflow project-sync.yml
This commit is contained in:
parent
8d69c037d2
commit
91b85e095b
1 changed files with 21 additions and 0 deletions
21
.github/workflows/project-sync.yml
vendored
Normal file
21
.github/workflows/project-sync.yml
vendored
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue