ci: new condition
This commit is contained in:
parent
ec1eb82e68
commit
2abda08bfb
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
|||
|
||||
jobs:
|
||||
analyze:
|
||||
if: ${{ !env.GITEA_ACTIONS || env.GITEA_ACTIONS != 'true' }}
|
||||
if: ${{ vars.RUN_ON_GITEA != 'true' }}
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
|
2
.github/workflows/mkdocs.yml
vendored
2
.github/workflows/mkdocs.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
|||
- master
|
||||
jobs:
|
||||
deploy:
|
||||
if: ${{ !env.GITEA_ACTIONS || env.GITEA_ACTIONS != 'true' }}
|
||||
if: ${{ vars.RUN_ON_GITEA != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
|
@ -7,7 +7,7 @@ on: [ push ]
|
|||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ !env.GITEA_ACTIONS || env.GITEA_ACTIONS != 'true' }}
|
||||
if: ${{ vars.RUN_ON_GITEA != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
Loading…
Reference in New Issue
Block a user