Skip to content

Commit

Permalink
ci: simplify dummy workflow to single failure check
Browse files Browse the repository at this point in the history
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and aaronsteers committed Jan 23, 2025
2 parents b13e19d + cc29626 commit f417ad5
Showing 1 changed file with 15 additions and 21 deletions.
36 changes: 15 additions & 21 deletions .github/workflows/dummy_check_result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,38 @@ on:
- '.github/workflows/dummy_check_result.yml'

jobs:
success_check:
name: "Dummy Job (success)"
failure_check:
name: "Dummy Job"
runs-on: ubuntu-22.04
permissions:
checks: write
contents: read
steps:
- name: Create Success Check Run
- name: Create Initial Check Run
uses: LouisBrunner/[email protected]
with:
token: ${{ github.token }}
name: "Dummy Check (success custom)"
status: "completed"
conclusion: "success"
details_url: "https://www.google.com/search?q=success"
name: "Dummy Check"
status: "in_progress"
output: |
{
"title": "Success Check",
"summary": "This is a dummy success check."
"title": "Test Check",
"summary": "Running test check..."
}
failure_check:
name: "Dummy Job (fail)"
runs-on: ubuntu-22.04
permissions:
checks: write
contents: read
steps:
- name: Create Failure Check Run
- name: Sleep for a moment
run: sleep 5

- name: Update Check Run with Details URL
uses: LouisBrunner/[email protected]
with:
token: ${{ github.token }}
name: "Dummy Check (fail custom)"
name: "Dummy Check"
status: "completed"
conclusion: "failure"
details_url: "https://www.google.com/search?q=failed"
details_url: "https://www.google.com/search?q=test-failure"
output: |
{
"title": "Failure Check",
"summary": "This is a dummy failure check."
"title": "Test Failed",
"summary": "This is a test failure check with custom details URL."
}

0 comments on commit f417ad5

Please sign in to comment.