From 5ad010389b4c8492ad3ff27115cc44d44ec89c3f Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Sat, 29 Jun 2024 15:14:04 +0800 Subject: [PATCH] ci: test --- .github/workflows/integration-test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index d98494590dae..d500154243f1 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -17,6 +17,7 @@ jobs: - run: false # Automatically rerun the workflow since the integration tests are moody + # From this genius: https://github.com/orgs/community/discussions/67654#discussioncomment-8038649 rerun-on-failure: needs: fail if: failure() && fromJSON(github.run_attempt) < 3 @@ -26,7 +27,7 @@ jobs: GH_REPO: ${{ github.repository }} GH_TOKEN: ${{ github.token }} GH_DEBUG: api - run: gh workflow run rerun.yml -r ${{ github.head_ref }} -F run_id=${{ github.run_id }} + run: gh workflow run rerun.yml --ref ${{ github.head_ref }} -F run_id=${{ github.run_id }} package: needs: fail