AFFiNE/.github/workflows/add-to-project.yml

25 lines
589 B
YAML
Raw Normal View History

2023-02-16 03:46:17 +03:00
name: Add to GitHub projects
on:
issues:
types:
- opened
pull_request_target:
2023-02-16 03:46:17 +03:00
types:
- opened
- reopened
2023-02-16 03:46:17 +03:00
jobs:
add-to-project:
name: Add issues and pull requests
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.0
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/toeverything/projects/10
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
# labeled: bug, needs-triage
# label-operator: OR