forked from ScrewTSW/podman-desktop-extension-ai-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.09 KB
/
example-job-template.yaml
File metadata and controls
36 lines (34 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: example-job-template
on:
workflow_call:
inputs:
trigger-workflow-run-id:
required: true
type: string
trigger-workflow-fork:
required: true
type: string
trigger-workflow-repo_name:
required: true
type: string
trigger-workflow-branch:
required: true
type: string
trigger-workflow-commit_sha:
required: true
type: string
trigger-workflow-base_repo:
required: true
type: string
jobs:
example-job:
runs-on: ubuntu-latest
steps:
- name: Was called
run: |
echo "Example job was called by ${{ github.event.inputs.trigger-workflow-run-id }}"
echo "Fork owner: ${{ github.event.inputs.trigger-workflow-fork }}"
echo "Fork repo: ${{ github.event.inputs.trigger-workflow-repo_name }}"
echo "Fork branch: ${{ github.event.inputs.trigger-workflow-branch }}"
echo "Commit SHA: ${{ github.event.inputs.trigger-workflow-commit_sha }}"
echo "Base repo: ${{ github.event.inputs.trigger-workflow-base_repo }}"