gitStream: PR #309 from muhlba91/onyx-homeassistant-integration #5289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: gitStream | |
run-name: | | |
gitStream: PR #${{ fromJSON(fromJSON(github.event.inputs.client_payload)).pullRequestNumber }} from ${{ github.event.inputs.full_repository }} | |
on: | |
workflow_dispatch: | |
inputs: | |
client_payload: | |
description: the client payload | |
required: true | |
full_repository: | |
description: the repository name include the owner in `owner/repo_name` format | |
required: true | |
head_ref: | |
description: the head sha | |
required: true | |
base_ref: | |
description: the base ref | |
required: true | |
installation_id: | |
description: the installation id | |
required: false | |
resolver_url: | |
description: the resolver url to pass results to | |
required: true | |
resolver_token: | |
description: optional resolver token for resolver service | |
required: false | |
default: '' | |
jobs: | |
git-stream: | |
runs-on: ubuntu-latest | |
name: gitStream | |
timeout-minutes: 5 | |
steps: | |
- uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3 | |
with: | |
egress-policy: audit | |
- uses: linear-b/gitstream-github-action@b5e4ab2dcd11317007bbe87ee232051a69c48c0b # 2.0.66 | |
id: rules-engine | |
with: | |
full_repository: ${{ github.event.inputs.full_repository }} | |
head_ref: ${{ github.event.inputs.head_ref }} | |
base_ref: ${{ github.event.inputs.base_ref }} | |
client_payload: ${{ github.event.inputs.client_payload }} | |
installation_id: ${{ github.event.inputs.installation_id }} | |
resolver_url: ${{ github.event.inputs.resolver_url }} | |
resolver_token: ${{ github.event.inputs.resolver_token }} |