]> sigrok.org Git - sigrok-cli.git/commitdiff
build.yml: Fix comment
authorSoeren Apel <redacted>
Thu, 22 Aug 2024 21:34:45 +0000 (23:34 +0200)
committerSoeren Apel <redacted>
Thu, 22 Aug 2024 21:34:45 +0000 (23:34 +0200)
.github/workflows/build.yml

index d8d7733517439ff9a7c818b4d96946c85a41b21a..c499750dc53147fd0335ad5858bad1585ff341e2 100644 (file)
@@ -50,8 +50,9 @@ jobs:
   update-pending-status-success:
     name: Update pending status as 'success'
     needs: call-build-workflow
+    # Note: always() is a workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
     if: |
-      always() &&    # Workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
+      always() &&
       (github.event_name == 'pull_request') &&
       (!contains(needs.*.result, 'cancelled')) &&
       (!contains(needs.*.result, 'failure'))
@@ -89,8 +90,9 @@ jobs:
   update-pending-status-failure:
     name: Update pending status as 'failure'
     needs: call-build-workflow
+    # Note: always() is a workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
     if: |
-      always() &&    # Workaround, see https://github.com/actions/runner/issues/491#issuecomment-850884422
+      always() &&
       (github.event_name == 'pull_request') &&
       (contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure'))
     runs-on: ubuntu-latest