a
This commit is contained in:
16
.github/workflows/linters.yml
vendored
16
.github/workflows/linters.yml
vendored
@@ -1,12 +1,12 @@
|
|||||||
name: Black
|
name: linters
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_run:
|
||||||
branches:
|
workflows: ["Code Review"]
|
||||||
- Development
|
types: ["completed"] #requested
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
on-success:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@@ -32,3 +32,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Run pylint
|
- name: Run pylint
|
||||||
run: pylint frontend services utils
|
run: pylint frontend services utils
|
||||||
|
|
||||||
|
on-failure:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||||
|
steps:
|
||||||
|
- run: echo 'The triggering workflow failed'
|
||||||
|
|||||||
Reference in New Issue
Block a user