{"id":16430972,"url":"https://github.com/estruyf/playwright-github-issue-creator","last_synced_at":"2026-04-02T02:05:31.762Z","repository":{"id":247955092,"uuid":"827331335","full_name":"estruyf/playwright-github-issue-creator","owner":"estruyf","description":"Automatically create GitHub issues for your failed Playwright E2E tests","archived":false,"fork":false,"pushed_at":"2024-10-10T07:02:45.000Z","size":1059,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-29T10:59:49.422Z","etag":null,"topics":["e2e","e2e-testing","github-actions","playwright","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/estruyf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":["estruyf"]}},"created_at":"2024-07-11T12:49:00.000Z","updated_at":"2025-08-29T14:04:25.000Z","dependencies_parsed_at":"2024-07-15T12:12:23.515Z","dependency_job_id":"d19ce344-7619-479b-ae3b-e208f6e87cf2","html_url":"https://github.com/estruyf/playwright-github-issue-creator","commit_stats":null,"previous_names":["estruyf/playwright-github-issue-creator"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/estruyf/playwright-github-issue-creator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-issue-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-issue-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-issue-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-issue-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estruyf","download_url":"https://codeload.github.com/estruyf/playwright-github-issue-creator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estruyf%2Fplaywright-github-issue-creator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["e2e","e2e-testing","github-actions","playwright","testing"],"created_at":"2024-10-11T08:28:51.770Z","updated_at":"2026-04-02T02:05:31.725Z","avatar_url":"https://github.com/estruyf.png","language":"TypeScript","funding_links":["https://github.com/sponsors/estruyf"],"categories":[],"sub_categories":[],"readme":"# Playwright Issue Creator\n\n[![Action checks](https://github.com/estruyf/playwright-github-issue-creator/actions/workflows/checks.yml/badge.svg)](https://github.com/estruyf/playwright-github-issue-creator/actions/workflows/checks.yml) [![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fplaywright-github-issue-creator\u0026countColor=%23263759\u0026style=plastic)](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Festruyf%2Fplaywright-github-issue-creator)\n\nThis GitHub Action creates issues for failed tests in Playwright.\n\n![Playwright Issue Creator](./assets/example-issue.png)\n\n## Prerequisites\n\nThis GitHub Action uses the JSON report from the [Playwright JSON reporter](https://playwright.dev/docs/test-reporters#json-reporter). You can generate this report by running your tests with the following command:\n\n```bash\nPLAYWRIGHT_JSON_OUTPUT_NAME=results.json npx playwright test --reporter=json\n```\n\n## Inputs\n\nThe GitHub Action can be configured with the following inputs:\n\n| Name | Description | Type | Required | Default |\n| --- | --- | --- | --- | --- |\n| `github-token` | GitHub token to create the issue | `string` | `true` | `${{ github.token }}` |\n| `report-path` | Path to the Playwright JSON report file | `string` | `true` | - |\n| `issue-prefix` | Prefix for the issue title | `string` | `false` | - |\n| `issue-labels` | Labels to add to the issue (comma-separated) | `string` | `false` | - |\n| `issue-assignees` | Assignees to add to the issue (comma-separated) | `string` | `false` | - |\n| `issue-footer` | Footer to add to the issue | `string` | `false` | `\u003e This issue was created by the Playwright Issue Creator action.` |\n| `add-project-label` | Add the project name as a label | `boolean` | `false` | `false` |\n| `add-comment` | Add a comment to the issue if the issue already exists | `boolean` | `false` | `false` |\n| `close-on-success` | Close the issue when the next test run is successful | `boolean` | `false` | `false` |\n| `close-on-success-msg` | Message to add when closing the issue | `string` | `false` | `This issue was automatically closed after the test passed.` |\n| `job-summary` | Add the issue information to the job summary | `boolean` | `false` | `true` |\n| `quite` | Do not log any information | `boolean` | `false` | `false` |\n\n## GitHub token permissions\n\nThe GitHub Action requires a token to read and write issues.\n\nYou can use the default GitHub token `${{ github.token }}` with the following permissions:\n\n```yaml\njobs:\n  e2e-testing:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      issues: write\n```\n\n\u003e [!NOTE]\n\u003e You can find more information about the GitHub token permissions [here](https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#defining-access-for-the-github_token-scopes).\n\nOr you can create your own Personal Access Token (PAT) with the following permissions `issues` -\u003e `read \u0026 write` and provide it to the `github-token` input.\n\n## Usage\n\nThe following example shows the minimal configuration to use the GitHub Action:\n\n```yaml\n- name: Playwright Issue Creator\n  if: ${{ !cancelled() }} # Only run the action if the job is not cancelled\n  uses: estruyf/playwright-github-issue-creator@v1.3.0\n  with:\n    report-path: results.json\n```\n\nThe following example shows the full configuration to use the GitHub Action:\n\n```yaml\n- name: Playwright Issue Creator\n  if: ${{ !cancelled() }} # Only run the action if the job is not cancelled\n  uses: estruyf/playwright-github-issue-creator@v1.3.0\n  with:\n    github-token: ${{ secrets.PAT_TOKEN }}\n    report-path: results.json\n    issue-prefix: 'E2E: '\n    issue-labels: 'playwright, bug'\n    issue-assignees: 'estruyf'\n    issue-footer: '\u003e Custom footer message'\n    add-project-label: true\n    add-comment: true\n    close-on-success: true\n    close-on-success-msg: \"Automatically closing after successful test run\"\n    job-summary: true\n    quite: false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festruyf%2Fplaywright-github-issue-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festruyf%2Fplaywright-github-issue-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festruyf%2Fplaywright-github-issue-creator/lists"}