{"id":34951631,"url":"https://github.com/108yen/set-commit-status","last_synced_at":"2026-05-23T06:02:17.315Z","repository":{"id":289888949,"uuid":"972724238","full_name":"108yen/set-commit-status","owner":"108yen","description":"This action allows you to set the commit status on github.","archived":false,"fork":false,"pushed_at":"2026-05-19T00:28:57.000Z","size":1786,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T02:38:48.045Z","etag":null,"topics":["commit","commit-status"],"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/108yen.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-25T14:52:57.000Z","updated_at":"2026-05-16T09:06:23.000Z","dependencies_parsed_at":"2025-05-23T20:27:56.448Z","dependency_job_id":"9d394f98-c093-4f02-8522-a656a3e350d8","html_url":"https://github.com/108yen/set-commit-status","commit_stats":null,"previous_names":["108yen/set-commit-status"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/108yen/set-commit-status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/108yen%2Fset-commit-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/108yen%2Fset-commit-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/108yen%2Fset-commit-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/108yen%2Fset-commit-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/108yen","download_url":"https://codeload.github.com/108yen/set-commit-status/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/108yen%2Fset-commit-status/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33384605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T04:15:53.637Z","status":"ssl_error","status_checked_at":"2026-05-23T04:15:53.242Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["commit","commit-status"],"created_at":"2025-12-26T21:39:09.282Z","updated_at":"2026-05-23T06:02:17.310Z","avatar_url":"https://github.com/108yen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 108yen/set-commit-status\n\n[![codecov](https://codecov.io/gh/108yen/set-commit-status/graph/badge.svg?token=F2CQYGDLHE)](https://codecov.io/gh/108yen/set-commit-status)\n[![MIT LIcense](https://img.shields.io/github/license/108yen/set-commit-status)](https://img.shields.io/github/license/108yen/set-commit-status)\n\nThis action allows you to set the commit status on github.\n\n## Usage\n\n### Inputs\n\n- `status`: The status to be set for commit. (\"error\", \"failure\", \"pending\", \"success\")\n- `sha`: Commit hash for which the status is to be set.\n- `context`: Context of status. (optional)\n- `description`: Description of status. (optional)\n\n### Example\n\n\u003e [!IMPORTANT]\n\u003e This action need `statuses: write` permission.\n\nThis is an example of a test workflow that triggered vercel preview build event.\nAs shown in the [official example](https://vercel.com/guides/how-can-i-run-end-to-end-tests-after-my-vercel-preview-deployment), this is useful when the vercel deployment triggers a playwright test.\n\n```yml\nname: Playwright Tests\n\non:\n  repository_dispatch:\n    types:\n      - \"vercel.deployment.success\"\n\npermissions: {}\n\ndefaults:\n  run:\n    shell: bash\n\nconcurrency:\n  group: ${{ github.workflow }}-${{ github.ref }}\n  cancel-in-progress: true\n\njobs:\n  playwright:\n    name: E2E Test\n\n    if: github.event_name == 'repository_dispatch'\n\n    runs-on: ubuntu-latest\n    timeout-minutes: 15\n    permissions:\n      contents: read\n      statuses: write\n\n    steps:\n      - name: Set pending status\n        uses: 108yen/set-commit-status@v1\n        with:\n          status: pending\n          description: Test in progress\n          sha: ${{ github.event.client_payload.git.sha }}\n\n      - name: Checkout\n        uses: actions/checkout@v4\n        with:\n          ref: ${{ github.event.client_payload.git.sha }}\n\n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: \"22\"\n\n      - name: Install dependencies\n        run: npm ci\n\n      - name: Install Playwright Browsers\n        run: npx playwright install --with-deps\n\n      - name: Run test\n        run: npx playwright test\n        env:\n          BASE_URL: ${{ github.event.client_payload.url }}\n\n      - name: Upload report\n        uses: actions/upload-artifact@v4\n        with:\n          name: playwright-report\n          path: playwright-report/\n          retention-days: 30\n\n      - name: Set success status\n        if: success()\n        uses: 108yen/set-commit-status@v1\n        with:\n          status: success\n          description: Test successful\n          sha: ${{ github.event.client_payload.git.sha }}\n\n      - name: Set failure status\n        if: failure()\n        uses: 108yen/set-commit-status@v1\n        with:\n          status: failure\n          description: Test failure\n          sha: ${{ github.event.client_payload.git.sha }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F108yen%2Fset-commit-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F108yen%2Fset-commit-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F108yen%2Fset-commit-status/lists"}