Skip to content

Commit 607b7cf

Browse files
committed
ci(gitstream.yml): fix the gitstream wf
1 parent f9267c0 commit 607b7cf

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

.github/workflows/gitstream.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,44 @@ name: gitStream workflow automation
44

55
on:
66
workflow_dispatch:
7+
inputs:
8+
client_payload:
9+
description: The Client payload
10+
required: true
11+
full_repository:
12+
description: the repository name include the owner in `owner/repo_name` format
13+
required: true
14+
head_ref:
15+
description: the head sha
16+
required: true
17+
base_ref:
18+
description: the base ref
19+
required: true
20+
installation_id:
21+
description: the installation id
22+
required: false
23+
resolver_url:
24+
description: the resolver url to pass results to
25+
required: true
26+
resolver_token:
27+
description: Optional resolver token for resolver service
28+
required: false
29+
default: ''
730

831
jobs:
932
gitStream:
33+
timeout-minutes: 5
34+
runs-on: ubuntu-latest
1035
name: gitStream workflow automation
11-
uses: devnw/workflows/.github/workflows/gitstream.yml@main
12-
secrets: inherit # pragma: allowlist secret
36+
steps:
37+
- name: Evaluate Rules
38+
uses: linear-b/gitstream-github-action@v1
39+
id: rules-engine
40+
with:
41+
full_repository: ${{ github.event.inputs.full_repository }}
42+
head_ref: ${{ github.event.inputs.head_ref }}
43+
base_ref: ${{ github.event.inputs.base_ref }}
44+
client_payload: ${{ github.event.inputs.client_payload }}
45+
installation_id: ${{ github.event.inputs.installation_id }}
46+
resolver_url: ${{ github.event.inputs.resolver_url }}
47+
resolver_token: ${{ github.event.inputs.resolver_token }}

0 commit comments

Comments
 (0)