Skip to content

Fix standardrb

Fix standardrb #166

Workflow file for this run

name: Workflow to wait on
on:
workflow_dispatch:
inputs:
delay_seconds:
description: "Time to delay"
required: false
default: "60"
push:
jobs:
wait-on-me:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Do some busywork
env:
default_delay: "60"
input_delay: ${{ github.event.inputs.delay_seconds }}
run: |
[ "$input_delay" ] && sleep_for="$input_delay" || sleep_for="$default_delay"
sleep $sleep_for
- name: Report success
run: echo 'Done with busywork'