From c61ea003a7f40adc2beb121f3c10a5fc2533e7d9 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Wed, 26 Apr 2023 11:59:19 +0200 Subject: [PATCH] Continue execution of ci script if posting a comment fails Test Plan: Create PR run for forked repo and see if the CI still finishes even if the commment creation fails Reviewers: Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1164 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e9cd81a..e4be10dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,7 @@ jobs: - name: Comment deploy start if: github.event_name != 'push' uses: mshick/add-pr-comment@v2 + continue-on-error: true with: message-id: cloudflare-deploy message: | @@ -65,6 +66,7 @@ jobs: - name: Publish id: cloudflare uses: cloudflare/pages-action@1 + continue-on-error: true with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} @@ -74,6 +76,7 @@ jobs: - name: Comment deploy url uses: mshick/add-pr-comment@v2 + continue-on-error: true with: message-id: cloudflare-deploy message: |