]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
.github/pr-triage: reorder milestone step 46447/head
authorErnesto Puerta <37327689+epuertat@users.noreply.github.com>
Mon, 18 Apr 2022 16:50:52 +0000 (18:50 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Tue, 31 May 2022 12:48:29 +0000 (14:48 +0200)
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 <epuertat@redhat.com>
(cherry picked from commit d8c0229b90cc20e89f7037a72af8b5d41b6b0861)

.github/workflows/pr-triage.yml

index 4c4855cbf13382da409468e0761671216f1ea75a..481f75331afc0ad5e3f7f601efce248902d141b1 100644 (file)
@@ -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