From 8477b98530751d3e0d9ecb2d663528aef3000f09 Mon Sep 17 00:00:00 2001 From: "neurobagel-bot[bot]" <176077434+neurobagel-bot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:02:32 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/workfl?= =?UTF-8?q?ows/'=20with=20remote=20'template=5Fworkflows/project=5Fautomat?= =?UTF-8?q?ion/'=20(#187)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: neurobagel-bot[bot] <176077434+neurobagel-bot[bot]@users.noreply.github.com> --- .github/workflows/add_iss2project.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add_iss2project.yml b/.github/workflows/add_iss2project.yml index 30d57fc..32c3d18 100644 --- a/.github/workflows/add_iss2project.yml +++ b/.github/workflows/add_iss2project.yml @@ -10,7 +10,14 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: + - name: Generate a token + id: generate-token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ vars.NB_BOT_ID }} + private-key: ${{ secrets.NB_BOT_KEY }} + - uses: actions/add-to-project@main with: project-url: https://github.com/orgs/neurobagel/projects/1 - github-token: ${{ secrets.NB_PROJECT_PAT }} + github-token: ${{ steps.generate-token.outputs.token }}