Skip to content

Commit

Permalink
New trigger first
Browse files Browse the repository at this point in the history
  • Loading branch information
r-b-g-b committed Jul 31, 2023
1 parent 579c22a commit d4f4df7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/newfirst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: New first workflow

on:
push:

jobs:
newfirst:
name: new first
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
14 changes: 14 additions & 0 deletions .github/workflows/newsecond.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: New second workflow

on:
workflow_run:
types:
- completed
workflows: ["New first workflow"]

jobs:
newsecond:
name: new second workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
8 changes: 5 additions & 3 deletions .github/workflows/second.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Second workflow

on:
workflow_run:
types:
- completed
workflows: ["First workflow"]
workflows: ["New first workflow"]

jobs:
mystep:
name: mystep
second:
name: second workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

0 comments on commit d4f4df7

Please sign in to comment.