From 67df56641135a6dfcdd014729852f39337637e05 Mon Sep 17 00:00:00 2001 From: parithosh Date: Thu, 22 Jun 2023 17:19:36 +0200 Subject: [PATCH] removing manual workflow branch input --- .github/workflows/run-tests.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b27c90765..6b24ef5eb 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,10 +6,8 @@ defaults: env: TEST_PRESET_TYPE: "minimal" - DEFAULT_BRANCH: "dev" -# Run tests on workflow_Dispatch -on: +on: push: branches: - dev @@ -22,10 +20,6 @@ on: description: Type of test to run, either mainnet or minimal type: string required: true - commitRef: - description: The branch, tag or SHA to checkout and build from - default: dev - required: true schedule: - cron: '0 0 * * *' @@ -47,8 +41,6 @@ jobs: steps: - name: Checkout this repo uses: actions/checkout@v3.2.0 - with: - ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} - name: Check table of contents run: sudo npm install -g doctoc@2.2.0 && make check_toc @@ -58,8 +50,6 @@ jobs: steps: - name: Checkout this repo uses: actions/checkout@v3.2.0 - with: - ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} - name: Check codespell run: pip install 'codespell<3.0.0,>=2.0.0' --user && make codespell @@ -69,8 +59,6 @@ jobs: steps: - name: Checkout this repo uses: actions/checkout@v3.2.0 - with: - ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} - name: Install pyspec requirements run: make install_test - name: Run linter for pyspec @@ -87,8 +75,6 @@ jobs: steps: - name: Checkout this repo uses: actions/checkout@v3.2.0 - with: - ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }} - name: set TEST_PRESET_TYPE if: github.event.inputs.test_preset_type != '' run: |