From: Ernesto Puerta <37327689+epuertat@users.noreply.github.com> Date: Mon, 17 Oct 2022 15:50:41 +0000 (+0200) Subject: .github/pr-triage: switch from old to new project X-Git-Tag: v18.1.0~995^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48514%2Fhead;p=ceph.git .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> --- diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml index 481f75331afc..9dd8355e5ce0 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: