From f8464006529653aa6b358f09af0a2c9fe9f65765 Mon Sep 17 00:00:00 2001 From: Ernesto Puerta <37327689+epuertat@users.noreply.github.com> Date: Mon, 17 Oct 2022 17:50:41 +0200 Subject: [PATCH] .github/pr-triage: switch from old to new project The old (classic) Dashboard project (https://github.com/ceph/ceph/projects/6) has been migrated to a new-style one (https://github.com/orgs/ceph/projects/2/views/1). This also requires updating the GH Action that automatically assigned `dashboard`-labeled PRs to the Dashboard project. Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com> --- .github/workflows/pr-triage.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml index 481f75331afc0..9dd8355e5ce03 100644 --- a/.github/workflows/pr-triage.yml +++ b/.github/workflows/pr-triage.yml @@ -13,10 +13,12 @@ jobs: sync-labels: '' repo-token: "${{ secrets.GITHUB_TOKEN }}" - name: Assign to Dashboard project - uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 - if: contains(github.event.pull_request.labels.*.name, 'dashboard') + # https://github.com/marketplace/actions/add-to-github-projects?version=v0.3.0 + uses: actions/add-to-project@a9f041ddd462ed185893ea1024cec954f50dbe42 with: - project: https://github.com/ceph/ceph/projects/6 + project-url: https://github.com/orgs/ceph/projects/2 + github-token: ${{ secrets.GITHUB_TOKEN }} + labeled: dashboard - name: Assign milestone based on target brach name uses: iyu/actions-milestone@dbf7e5348844c9ddc6b803a5721b85fa70fe3bb9 with: -- 2.39.5