{"id":18648619,"url":"https://github.com/buildpulse/buildpulse-action","last_synced_at":"2025-04-11T14:31:13.742Z","repository":{"id":65159157,"uuid":"572519286","full_name":"buildpulse/buildpulse-action","owner":"buildpulse","description":"GitHub Action for connecting to BuildPulse for flaky test detection","archived":false,"fork":false,"pushed_at":"2024-11-01T17:45:21.000Z","size":45,"stargazers_count":6,"open_issues_count":4,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-23T00:32:00.727Z","etag":null,"topics":["actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buildpulse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-30T12:59:57.000Z","updated_at":"2025-02-04T17:41:46.000Z","dependencies_parsed_at":"2024-11-07T06:34:27.337Z","dependency_job_id":null,"html_url":"https://github.com/buildpulse/buildpulse-action","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Fbuildpulse-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Fbuildpulse-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Fbuildpulse-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildpulse%2Fbuildpulse-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildpulse","download_url":"https://codeload.github.com/buildpulse/buildpulse-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248419666,"owners_count":21100219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions"],"created_at":"2024-11-07T06:32:54.367Z","updated_at":"2025-04-11T14:31:08.733Z","avatar_url":"https://github.com/buildpulse.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action for BuildPulse [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/buildpulse/buildpulse-action/main/LICENSE)\n\nEasily connect your GitHub Actions CI workflows to [BuildPulse][buildpulse.io] to help you find and [fix flaky tests](https://buildpulse.io/products/flaky-tests).\n\n## Usage\n\n1. Locate the BuildPulse credentials for your account at [buildpulse.io][]\n2. In the GitHub settings for your repository, [create an encrypted secret](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets#creating-encrypted-secrets) named `BUILDPULSE_ACCESS_KEY_ID` and set its value to the `BUILDPULSE_ACCESS_KEY_ID` for your account\n3. Create another encrypted secret named `BUILDPULSE_SECRET_ACCESS_KEY` and set its value to the `BUILDPULSE_SECRET_ACCESS_KEY` for your account\n4. Add a step to your GitHub Actions workflow to use this action to send your test results to BuildPulse:\n\n    ```yaml\n    steps:\n    - name: Check out code\n      uses: actions/checkout@v2\n\n    - name: Run tests\n      run: echo \"Run your tests and generate XML reports for your test results\"\n\n    - name: Upload test results to BuildPulse for flaky test detection\n      if: '!cancelled()' # Run this step even when the tests fail. Skip if the workflow is cancelled.\n      uses: buildpulse/buildpulse-action@main\n      with:\n        account: \u003cbuildpulse-account-id\u003e\n        repository: \u003cbuildpulse-repository-id\u003e\n        path: |\n          reports/junit.xml # \u003cpath-to-xml-reports\u003e\n          reports2/**/junit.xml # support double globbing (if your github-hosted runner OS uses bash 4+)\n        key: ${{ secrets.BUILDPULSE_ACCESS_KEY_ID }}\n        secret: ${{ secrets.BUILDPULSE_SECRET_ACCESS_KEY }}\n        coverage-files: coverage/report.xml # IF PURCHASED\n        tags: e2e team1 staging # OPTIONAL\n    ```\n\n## Inputs\n\n### `account`\n\n**Required** The unique numeric identifier for the BuildPulse account that owns the repository.\n\n### `repository`\n\n**Required** The unique numeric identifier for the repository being built.\n\n### `path`\n\n**Required** The path to the XML file(s) for the test results. Can be a directory (e.g., `test/reports`), a single file (e.g., `reports/junit.xml`), or a glob (e.g., `app/*/results/*.xml`).\n\n### `key`\n\n**Required** The `BUILDPULSE_ACCESS_KEY_ID` for the account that owns the repository.\n\n### `secret`\n\n**Required** The `BUILDPULSE_SECRET_ACCESS_KEY` for the account that owns the repository.\n\n### `commit`\n\n_Optional_ The SHA for the commit that produced the test results (default: the value of [`${{ github.sha }}`](https://docs.github.com/en/actions/learn-github-actions/contexts#github-context), which is the commit that triggered the workflow).\n\nIf your workflow checks out a _different_ commit than the commit that triggered the workflow, then use this input to specify the commit SHA that your workflow checked out. For example, if your workflow is triggered by the [`pull_request` event](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request), but you [customize the workflow to check out the pull request HEAD commit](https://github.com/actions/checkout/tree/v3.0.2#checkout-pull-request-head-commit-instead-of-merge-commit), then you'll want to set this input to the pull request HEAD commit SHA.\n\n### `repository-path`\n\n_Optional_ The path to the local git clone of the repository (default: \".\").\n\n### `coverage-files`\n\n_Optional_ The paths to the coverage file(s) for the test results (space-separated).\n\n### `tags`\n\n_Optional_ Tags to apply to this build (space-separated).\n\n### `quota`\n\n_Optional_ Quota ID to count this upload against. Please set on BuildPulse Dashboard first.\n\n\n[buildpulse.io]: https://buildpulse.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildpulse%2Fbuildpulse-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildpulse%2Fbuildpulse-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildpulse%2Fbuildpulse-action/lists"}