Adding bors timeout
This commit is contained in:
parent
738fc520a9
commit
d6cc8f7ed5
1
.github/bors.toml
vendored
1
.github/bors.toml
vendored
@ -1,5 +1,6 @@
|
||||
block_labels = [ "S-blocked" ]
|
||||
delete_merged_branches = true
|
||||
timeout_sec = 1200
|
||||
status = [
|
||||
"style",
|
||||
"test (stable)",
|
||||
|
17
.github/workflows/hitl_trigger.yml
vendored
17
.github/workflows/hitl_trigger.yml
vendored
@ -12,15 +12,24 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
environment: hitl
|
||||
steps:
|
||||
- uses: LouisBrunner/checks-action@v1.1.1
|
||||
id: hitl-check
|
||||
with:
|
||||
repo: ${{ github.repository }}
|
||||
sha: ${{ github.event.head_commit.id }}
|
||||
token: ${{ github.token }}
|
||||
name: HITL Run Status
|
||||
status: in_progress
|
||||
details_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
|
||||
output: { "summary": "Starting..." }
|
||||
|
||||
- uses: peter-evans/repository-dispatch@v1
|
||||
with:
|
||||
token: ${{ secrets.DISPATCH_PAT }}
|
||||
event-type: stabilizer
|
||||
repository: quartiq/hitl
|
||||
client-payload: '{"github": ${{ toJson(github) }}}'
|
||||
|
||||
- name: Wait for startup
|
||||
run: sleep 30
|
||||
client-payload: |
|
||||
'{"github": ${{ toJson(github) }}, "check_id": ${{steps.hitl-check.outputs.check_id}}}'
|
||||
|
||||
- uses: fountainhead/action-wait-for-check@v1.0.0
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user