From 3ec64301b9ab9f56ae9a716d55b542746f4e60c4 Mon Sep 17 00:00:00 2001 From: Saugat Pachhai Date: Thu, 12 Nov 2020 20:05:52 +0545 Subject: [PATCH] Send TAP result to flaky service only on master (#4888) --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 7a108d996..bc1531b98 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -69,7 +69,7 @@ jobs: - name: Post TAP # Running custom fork with an option, that does not fail CI on error uses: skshetry/flaky-service/packages/action@master - if: ${{ always() }} + if: always() && github.ref == 'refs/heads/master' with: file-path: ${{github.workspace}}/testresults.tap repo-token: ${{ secrets.GITHUB_TOKEN }}