From 3e99de853b532cf39b51ccdae14cb2b2fe5ff5d5 Mon Sep 17 00:00:00 2001 From: Derek Su Date: Tue, 10 Sep 2024 11:51:00 +0800 Subject: [PATCH] WIP Signed-off-by: Derek Su --- .github/workflows/add-to-projects.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/add-to-projects.yml b/.github/workflows/add-to-projects.yml index f2c164beec..3972c5accf 100644 --- a/.github/workflows/add-to-projects.yml +++ b/.github/workflows/add-to-projects.yml @@ -21,14 +21,14 @@ jobs: if: steps.is-longhorn-member.outcome == 'success' && fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null uses: actions/add-to-project@v0.3.0 with: - project-url: https://github.com/orgs/longhorn/projects/5 + project-url: https://github.com/users/derekbit/projects/4 github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} id: add-project - name: Update Item Fields for issues if: github.event_name == 'issues' && steps.is-longhorn-member.outcome == 'success' && (github.event.action == 'opened' || github.event.action == 'labeled') && fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null uses: titoportas/update-project-fields@v0.1.0 with: - project-url: https://github.com/orgs/longhorn/projects/5 + project-url: https://github.com/users/derekbit/projects/4 github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} item-id: ${{ steps.add-project.outputs.itemId }} field-keys: Status,Sprint @@ -37,7 +37,7 @@ jobs: if: github.event_name == 'issue_comment' && steps.is-longhorn-member.outcome == 'success'&& (github.event.action == 'created' || github.event.action == 'edited') && fromJSON(steps.is-longhorn-member.outputs.teams)[0] == null uses: titoportas/update-project-fields@v0.1.0 with: - project-url: https://github.com/orgs/longhorn/projects/5 + project-url: https://github.com/users/derekbit/projects/4 github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} item-id: ${{ steps.add-project.outputs.itemId }} field-keys: Status,Sprint @@ -57,7 +57,7 @@ jobs: if: steps.is-longhorn-member.outcome == 'success' && fromJSON(steps.is-longhorn-member.outputs.teams)[0] != null uses: actions/add-to-project@v0.3.0 with: - project-url: https://github.com/orgs/longhorn/projects/4 + project-url: https://github.com/users/derekbit/projects/4 github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }} labeled: kind/test, area/infra label-operator: OR