name: Add issues to shared backlog

on:
  issues:
    types:
      - opened
  pull_request:
    branches-ignore:
      - "dependabot/**/*"
    types:
      - opened

jobs:
  add-to-project:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/add-to-project@v0.5.0
        with:
          project-url: https://github.com/orgs/zazuko/projects/23
          github-token: ${{ secrets.BACKLOG_PAT }}
