From 8663a1ce93977d6854c61f7cdd34bbebbf9bb7da Mon Sep 17 00:00:00 2001 From: Robert Lin Date: Thu, 12 Jan 2023 08:22:05 -0800 Subject: [PATCH] only run publish test in main --- .github/workflows/demo.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 686ab52..1662730 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -20,6 +20,7 @@ jobs: gobenchdata-publish: runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' steps: - name: checkout uses: actions/checkout@v2