-
Notifications
You must be signed in to change notification settings - Fork 6
50 lines (47 loc) · 1.31 KB
/
update-healthcheck.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
47
48
49
50
# this action is used by sub-repos
on:
workflow_call:
inputs:
owner:
description: "Owner to checkout"
required: true
type: string
repo:
description: "Repo to checkout"
required: true
type: string
check:
description: "Check ID"
required: true
type: string
conclusion:
description: "Healthcheck conclusion"
required: true
type: string
run_id:
description: "Workflow run ID"
required: true
type: string
secrets:
TOKEN:
required: true
jobs:
trigger-healthckeck:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
name: Update check run
with:
route: PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}
owner: ${{ inputs.owner }}
repo: ${{ inputs.repo }}
check_run_id: ${{ inputs.check }}
name: DevHub
status: completed
conclusion: ${{ inputs.conclusion }}
details_url: https://github.com/shopware/developer-portal/actions/runs/${{ inputs.run_id }}
output: |
title: Developer Portal healthcheck
summary: Building the project in DevHub (Developer Portal)
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}