Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/callee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test callee
on:
workflow_call:

jobs:
job1:
name: Test 1
runs-on: ubuntu-latest
steps:
- name: Env
run: env
- name: Event data
run: cat $GITHUB_EVENT_PATH
job2:
name: Test 2
runs-on: ubuntu-latest
steps:
- name: Env
run: env
- name: Event data
run: cat $GITHUB_EVENT_PATH
13 changes: 13 additions & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test dispatch
on:
workflow_dispatch:

jobs:
job:
name: Test
runs-on: ubuntu-latest
steps:
- name: Env
run: env
- name: Event data
run: cat $GITHUB_EVENT_PATH
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Test
on:
push:
branches: [ '🙄' ]
pull_request:

jobs:
job:
Expand All @@ -12,3 +11,6 @@ jobs:
run: env
- name: Event data
run: cat $GITHUB_EVENT_PATH

caller:
uses: ./.github/workflows/callee.yml