diff --git a/.github/workflows/add-issues-to-triage.yaml b/.github/workflows/add-issues-to-triage.yaml index a9918ee..c1dc059 100644 --- a/.github/workflows/add-issues-to-triage.yaml +++ b/.github/workflows/add-issues-to-triage.yaml @@ -7,7 +7,14 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: + - name: Generate token + id: generate-token + uses: actions/create-github-app-token@v1.11.0 + with: + app-id: ${{ vars.NOCTURNE_BOT_APP_ID }} + private-key: ${{ secrets.NOCTURNE_BOT_PRIVATE_KEY }} + - uses: actions/add-to-project@v1.0.2 with: project-url: https://github.com/orgs/usenocturne/projects/1 - github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }} + github-token: ${{ steps.generate-token.outputs.token }}