From 21639bc9c6f3e2b67912d6934ed28e9c401f3edd Mon Sep 17 00:00:00 2001 From: Ernesto Puerta <37327689+epuertat@users.noreply.github.com> Date: Mon, 18 Apr 2022 18:50:52 +0200 Subject: [PATCH] .github/pr-triage: reorder milestone step In `master` the milestone step exits and causes remaining tasks not to be run. I previously tried with the `continue-on-error` flag, but it didn't work, so let's try putting that steps at the end. Signed-off-by: Ernesto Puerta (cherry picked from commit d8c0229b90cc20e89f7037a72af8b5d41b6b0861) --- .github/workflows/pr-triage.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml index 4c4855cbf1338..481f75331afc0 100644 --- a/.github/workflows/pr-triage.yml +++ b/.github/workflows/pr-triage.yml @@ -12,14 +12,13 @@ jobs: with: 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') + with: + project: https://github.com/ceph/ceph/projects/6 - name: Assign milestone based on target brach name uses: iyu/actions-milestone@dbf7e5348844c9ddc6b803a5721b85fa70fe3bb9 with: configuration-path: .github/milestone.yml repo-token: "${{ secrets.GITHUB_TOKEN }}" - continue-on-error: true - - name: Assign to Dashboard project - uses: srggrs/assign-one-project-github-action@65a8ddab497df42ef268001e67bbf976f8fd39e1 - if: contains(github.event.pull_request.labels.*.name, 'dashboard') - with: - project: https://github.com/ceph/ceph/projects/6 -- 2.39.5