/sleep-random

Github action to sleep for random minutes or set minutes.

Primary LanguageTypeScriptMIT LicenseMIT

Build-test Release

semantic-release

Note:

Job execution time - Each job in a workflow can run for up to 6 hours of execution time. If a job reaches this limit, the job is terminated and fails to complete.

Workflow run time - Each workflow run is limited to 72 hours. If a workflow run reaches this limit, the workflow run is cancelled.

Usage:

Setting random to true will result in action sleeping for an arbitrary time with an upper limit of set minutes.


steps:
      - name: Wait
        uses: 1itachi/sleep-random@v1.0.0
        with:
          minutes: '5'
          random: 'true'

Action can be used without random to sleep for set minutes.


steps:
      - name: Wait
        uses: 1itachi/sleep-random@v1.0.0
        with:
          minutes: '5'

Issues

Please raise an issue for bugs and suggestions.