mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
only trigger version number if pullrequest
This commit is contained in:
parent
63f6776e83
commit
c1052b6c1d
3
.github/workflows/qc_checks.yaml
vendored
3
.github/workflows/qc_checks.yaml
vendored
@ -29,13 +29,14 @@ jobs:
|
|||||||
check_version:
|
check_version:
|
||||||
name: version number
|
name: version number
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Check version number
|
- name: Check version number
|
||||||
run: |
|
run: |
|
||||||
python3 ci/check_version_number.py --branch ${{ github.base_ref || github.ref }}
|
python3 ci/check_version_number.py --branch ${{ github.base_ref }}
|
||||||
|
|
||||||
pep_style:
|
pep_style:
|
||||||
name: PEP style (python)
|
name: PEP style (python)
|
||||||
|
Loading…
Reference in New Issue
Block a user