From 1037af6599fd064e83c0fd7cd65a7a75a5b74d21 Mon Sep 17 00:00:00 2001 From: Jintao Zhang Date: Mon, 26 Jun 2023 12:17:56 +0800 Subject: [PATCH] gh: move issues to the Needs Triage card by default. Signed-off-by: Jintao Zhang --- .github/workflows/project.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml index 95537e16c..0f8432ed5 100644 --- a/.github/workflows/project.yml +++ b/.github/workflows/project.yml @@ -13,7 +13,10 @@ jobs: repository-projects: write issues: write steps: - - uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c # v0.5.0 + - uses: peter-evans/create-or-update-project-card@2384ab088fea261837be59baa1ba295694c4e74a with: - project-url: https://github.com/orgs/kubernetes/projects/104 - github-token: ${{ secrets.PROJECT_WRITER }} + project-location: organization + project-number: 104 + issue-number: ${{ github.event.number }} + column-name: "Needs Triage" + token: ${{ secrets.PROJECT_WRITER }}