Merge pull request #3439 from parithosh/dev
Removing manual workflow branch input
This commit is contained in:
commit
865bb12d4f
|
@ -6,9 +6,7 @@ defaults:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TEST_PRESET_TYPE: "minimal"
|
TEST_PRESET_TYPE: "minimal"
|
||||||
DEFAULT_BRANCH: "dev"
|
|
||||||
|
|
||||||
# Run tests on workflow_Dispatch
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -22,10 +20,6 @@ on:
|
||||||
description: Type of test to run, either mainnet or minimal
|
description: Type of test to run, either mainnet or minimal
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
commitRef:
|
|
||||||
description: The branch, tag or SHA to checkout and build from
|
|
||||||
default: dev
|
|
||||||
required: true
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
|
@ -47,8 +41,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout this repo
|
- name: Checkout this repo
|
||||||
uses: actions/checkout@v3.2.0
|
uses: actions/checkout@v3.2.0
|
||||||
with:
|
|
||||||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }}
|
|
||||||
- name: Check table of contents
|
- name: Check table of contents
|
||||||
run: sudo npm install -g doctoc@2.2.0 && make check_toc
|
run: sudo npm install -g doctoc@2.2.0 && make check_toc
|
||||||
|
|
||||||
|
@ -58,8 +50,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout this repo
|
- name: Checkout this repo
|
||||||
uses: actions/checkout@v3.2.0
|
uses: actions/checkout@v3.2.0
|
||||||
with:
|
|
||||||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }}
|
|
||||||
- name: Check codespell
|
- name: Check codespell
|
||||||
run: pip install 'codespell<3.0.0,>=2.0.0' --user && make codespell
|
run: pip install 'codespell<3.0.0,>=2.0.0' --user && make codespell
|
||||||
|
|
||||||
|
@ -69,8 +59,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout this repo
|
- name: Checkout this repo
|
||||||
uses: actions/checkout@v3.2.0
|
uses: actions/checkout@v3.2.0
|
||||||
with:
|
|
||||||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }}
|
|
||||||
- name: Install pyspec requirements
|
- name: Install pyspec requirements
|
||||||
run: make install_test
|
run: make install_test
|
||||||
- name: Run linter for pyspec
|
- name: Run linter for pyspec
|
||||||
|
@ -87,8 +75,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout this repo
|
- name: Checkout this repo
|
||||||
uses: actions/checkout@v3.2.0
|
uses: actions/checkout@v3.2.0
|
||||||
with:
|
|
||||||
ref: ${{ github.event.inputs.commitRef || env.DEFAULT_BRANCH }}
|
|
||||||
- name: set TEST_PRESET_TYPE
|
- name: set TEST_PRESET_TYPE
|
||||||
if: github.event.inputs.test_preset_type != ''
|
if: github.event.inputs.test_preset_type != ''
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue