name: Add issue/PR to project

on:
  issues:
    types:
      - opened
  pull_request:
    branches: [master]

jobs:
  add-to-project:
    name: Add issue to project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/add-to-project@main
        with:
          project-url: https://github.com/orgs/stacks-network/projects/56
          github-token: ${{ secrets.GITHUB_TOKEN }}