pounder_test/.github/workflows/hitl.yml

25 lines
580 B
YAML
Raw Normal View History

2021-01-09 00:28:07 +08:00
name: HITL
on:
workflow_dispatch:
pull_request:
branches: [ master ]
2021-01-09 00:28:07 +08:00
jobs:
2021-01-09 02:04:59 +08:00
hitl:
2021-01-09 00:28:07 +08:00
runs-on: ubuntu-latest
environment: hitl
steps:
- uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DISPATCH_PAT }}
2021-01-09 02:13:23 +08:00
event-type: stabilizer
2021-01-09 00:28:07 +08:00
repository: quartiq/hitl
2021-01-10 03:00:02 +08:00
client-payload: '{"github": ${{ toJson(github) }}}'
2021-04-09 17:25:58 +08:00
- uses: fountainhead/action-wait-for-check@v1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: HITL
ref: ${{ github.event.pull_request.head.sha }}