name: Add issues to API team project
permissions:
  issues: write
  contents: read

on:
  issues:
    types:
      - opened

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/github/projects/8014
          github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
