8000 GitHub - lofoyet/await-check-suites-2: path awaits my life
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lofoyet/await-check-suites-2

Repository files navigation

lofoyet/await-check-suites status

Await Check Suites

Wait for a commit's check suites to complete.

Usage

See action.yml

- uses: lofoyet/await-check-suites-2@v1
  with:
    # The commit's repository name with owner.
    # For example, lofoyet/await-check-suites-2.
    # Default: ${{ github.repository }}
    repository: ''

    # The commit's ref (can be a SHA, branch name, or a tag name).
    # Default: ${{ github.sha }}
    ref: ''

    # GitHub token for GitHub API requests.
    # When `repository` is modified, set to a personal access token with access to `repository`.
    # Default: ${{ github.token }}
    token: ''

    # Wait for a check suite to be created if none exist.
    # This is important to protect against race conditions
    # if you know a check suite should exist on the `ref`'s commit.
    # Default: true
    waitForACheckSuite: ''

    # Number of seconds to wait between checks.
    # Default: 15
    intervalSeconds: ''

    # Number of seconds to wait before timing out.
    timeoutSeconds: ''

    # Fail step if any of the check suites complete with a conclusion other than 'success'.
    # Default: true
    failStepIfUnsuccessful: ''

    # Filter check suites for a particular app's slug (e.g., 'github-actions').
    appSlugFilter: ''

    # Only take into account the first check suite ordered by the `created_at` timestamp.
    # If `appSlugFilter` is set, only the first check suite that matches the app's slug is taken into account.
    # This is important for scheduled workflows that only want to take into account pushed workflows.
    # Default: false
    onlyFirstCheckSuite: ''

Scenarios

Wait for other check suites on this commit to complete

- uses: lofoyet/await-check-suites-2@v1

Wait for all check suites on a commit in another repo to complete

- uses: lofoyet/await-check-suites-2@v1
  with:
    repository: lofoyet/git-ops
    ref: ${{ env.git_ops_commit_sha }}
    token: ${{ secrets.GITHUB_PAT }}

Wait for the first GitHub Actions check suite on this commit to complete

- uses: lofoyet/await-check-suites-2@v1
  with:
    appSlugFilter: github-actions
    onlyFirstCheckSuite: true

Install, Build, Lint, Test, and Package

Make sure to do the following before checking in any code changes.

$ yarn
$ yarn all

License

The scripts and documentation in this project are released under the MIT License

About

path awaits my life

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0