-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (41 loc) · 1.12 KB
/
dummy_check_result.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
name: Dummy Check Result
on:
pull_request:
branches:
- main
paths:
- '.github/workflows/dummy_check_result.yml'
jobs:
failure_check:
name: "Dummy Job"
runs-on: ubuntu-22.04
permissions:
checks: write
contents: read
steps:
- name: Create Custom Check Run
uses: LouisBrunner/[email protected]
with:
token: ${{ github.token }}
name: "Custom Test Report"
status: "in_progress"
output: |
{
"title": "Test Report",
"summary": "Running test check..."
}
- name: Sleep for a moment
run: sleep 5
- name: Update Custom Check Run
uses: LouisBrunner/[email protected]
with:
token: ${{ github.token }}
name: "Custom Test Report"
status: "completed"
conclusion: "failure"
details_url: "https://www.google.com/search?q=test-failure"
output: |
{
"title": "Test Failed",
"summary": "This is a test failure check with custom details URL."
}