Fork of TSRBerry/unstable-commands for PR checks workflow
Go to file
dependabot[bot] a916a5bb49
Bump typescript from 5.3.3 to 5.4.2 (#104)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-11 16:19:13 +01:00
.github Bump pnpm/action-setup from 2 to 3 (#95) 2024-02-20 14:04:17 +01:00
src Move runUnstableCommand out of main.ts 2023-07-31 03:03:39 +02:00
tests Move runUnstableCommand out of main.ts 2023-07-31 03:03:39 +02:00
.eslintignore Initial commit 2023-07-30 18:40:33 +02:00
.eslintrc.json Initial commit 2023-07-30 18:40:33 +02:00
.gitattributes Initial commit 2023-07-30 18:40:33 +02:00
.gitignore Remove template files and directories and add .nvmrc 2023-07-31 00:41:55 +02:00
.markdownlint.json Add markdownlint config 2023-10-04 13:38:16 +02:00
.nvmrc Update action runtime to lts/iron (node 20) 2024-01-01 16:45:29 +01:00
.prettierignore Initial commit 2023-07-30 18:40:33 +02:00
.prettierrc.json Initial commit 2023-07-30 18:40:33 +02:00
action.yml Update action runtime to node20 2023-10-04 13:39:55 +02:00
jest.config.js Add simple tests 2023-07-31 02:51:31 +02:00
LICENSE Update README.md and LICENSE 2023-07-31 00:43:41 +02:00
package.json Bump typescript from 5.3.3 to 5.4.2 (#104) 2024-03-11 16:19:13 +01:00
pnpm-lock.yaml Bump typescript from 5.3.3 to 5.4.2 (#104) 2024-03-11 16:19:13 +01:00
README.md README: Add a link to step documentation for working-directory 2024-02-20 14:01:18 +01:00
tsconfig.json Initial commit 2023-07-30 18:40:33 +02:00

Unstable commands

unstable-commands status

A GitHub Action to retry commands if weird things happen.

Inputs

commands

Required: The commands to run. Use this like the run keyword for steps.

timeout-minutes

Required: Maximum number of minutes to wait for the commands to finish execution. Use this like the timeout-minutes keyword for steps.

retry-codes

Required: A comma-separated value containing the exit codes which should cause a retry.

shell

Optional: The shell to use to run the commands. Use this like the shell keyword for steps.

Default: "default-shell".

working-directory

Optional: The working directory where the commands are executed in. Use this like the working-directory keyword for steps.

Default: ${{ github.workspace }}.

max-retries

Optional: Maximum amount of times the specified commands should be tried before giving up.

Default: "3".

Example usage

uses: TSRBerry/unstable-commands@v1
with:
  commands: |
    echo "Hello!"
    sleep 2m
    echo "Bye!"    
  timeout-minutes: "3"
  retry-codes: "1,2,139"