-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (43 loc) · 1.28 KB
/
manual.yml
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
37
38
39
40
41
42
43
44
45
46
name: Manual trigger action
on:
workflow_dispatch:
inputs:
root-issue-url:
description: 'Root issue url'
required: true
type: string
section-title:
description: 'Section title'
required: true
type: string
include-legend:
description: 'Include legend'
type: boolean
default: true
include-finish-node:
description: 'Include finish node'
type: boolean
default: true
dry-run:
description: 'Dry run'
type: boolean
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ./
name: 'Build issues dependency graph'
id: build-issue-dependencies-graph
with:
root-issue-url: '${{ github.event.inputs.root-issue-url }}'
section-title: '${{ github.event.inputs.section-title }}'
github-token: '${{ secrets.GITHUB_TOKEN }}'
include-legend: '${{ github.event.inputs.include-legend }}'
include-finish-node: '${{ github.event.inputs.include-finish-node }}'
dry-run: '${{ github.event.inputs.dry-run }}'
- run: |
cat << 'EOF' > $GITHUB_STEP_SUMMARY
${{ steps.build-issue-dependencies-graph.outputs.mermaid-diagram }}
EOF