Zebra/.github/workflows/assign-to-project.yml

25 lines
668 B
YAML

name: Project
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
assign:
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@v0.2.4
if: github.event_name == 'issues' && github.event.action == 'opened'
with:
project: Zebra
column: To Do
repo-token: ${{ secrets.PROJECT_AUTOMATION }}
- uses: alex-page/github-project-automation-plus@v0.2.4
if: github.event_name == 'pull_request' && github.event.action == 'opened'
with:
project: Zebra
column: In progress
repo-token: ${{ secrets.PROJECT_AUTOMATION }}