changed workflows
This commit is contained in:
BIN
.github/workflows/.code-review.yml.swp
vendored
Normal file
BIN
.github/workflows/.code-review.yml.swp
vendored
Normal file
Binary file not shown.
9
.github/workflows/linters.yml
vendored
9
.github/workflows/linters.yml
vendored
@@ -1,12 +1,9 @@
|
|||||||
name: linters
|
name: linters
|
||||||
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run: # ← event name must be workflow_run
|
push:
|
||||||
workflows: ["Review"] # ← exact name of your triggering workflow
|
branches:
|
||||||
types: [completed]
|
- Development
|
||||||
branches: [Development]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
on-success:
|
on-success:
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
|
|||||||
9
.github/workflows/unit-test.yml
vendored
9
.github/workflows/unit-test.yml
vendored
@@ -1,10 +1,9 @@
|
|||||||
name: Unit Test
|
name: Unit Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: ["linters"]
|
branches:
|
||||||
types: [completed] #requested
|
- main
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
on-success:
|
on-success:
|
||||||
@@ -35,4 +34,4 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||||
steps:
|
steps:
|
||||||
- run: echo 'The triggering workflow failed'
|
- run: echo 'The triggering workflow failed'
|
||||||
|
|||||||
Reference in New Issue
Block a user