From 195a96a24cd0d191e9441a4a8169cd7d4c87c073 Mon Sep 17 00:00:00 2001 From: "qbox-duck[bot]" <152818034+qbox-duck[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 11:20:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/'=20wi?= =?UTF-8?q?th=20remote=20'repo-template/.github/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/CODE_OF_CONDUCT.md | 1 - .github/workflows/issues-project.yml | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index c203cef..7d53132 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -71,4 +71,3 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html [homepage]: https://www.contributor-covenant.org - diff --git a/.github/workflows/issues-project.yml b/.github/workflows/issues-project.yml index 83e331a..daa39a3 100644 --- a/.github/workflows/issues-project.yml +++ b/.github/workflows/issues-project.yml @@ -10,7 +10,13 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: + - name: Get App Token + uses: actions/create-github-app-token@v1.6.1 + id: generate_token + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.PRIVATE_KEY }} - uses: actions/add-to-project@v0.5.0 with: project-url: https://github.com/orgs/Qbox-project/projects/4 - github-token: ${{ secrets.PROJECTS_PAT }} + github-token: ${{ steps.generate_token.outputs.token }}