name: Add bugs to bugs project

on:
  issues:
    types: [ opened, labeled ]

jobs:
  add-to-project:
    name: Add issue to project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/add-to-project@v0.1.0
        with:
          project-url: https://github.com/orgs/timescale/projects/55
          # Token will expire Oct 2, 2022
          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
          labeled: bug

name: Add bugs to bugs project

on:
  issues:
    types: [ opened, labeled ]

jobs:
  add-to-project:
    name: Add issue to project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/add-to-project@v0.1.0
        with:
          project-url: https://github.com/orgs/timescale/projects/55
          github-token: ${{ secrets.ORG_AUTOMATION_TOKEN }}
          labeled: bug

Update the name of the automation token
Update the name of the automation token

We now have an organization-wide token for automation. This patch
changes the name in existing Github actions accordingly.
