{"id":15870950,"url":"https://github.com/int128/workflow-run-summary-action","last_synced_at":"2026-05-16T02:26:12.919Z","repository":{"id":37049325,"uuid":"422030814","full_name":"int128/workflow-run-summary-action","owner":"int128","description":"Get workflow run summary for CI notification","archived":false,"fork":false,"pushed_at":"2026-05-02T20:23:20.000Z","size":13352,"stargazers_count":3,"open_issues_count":8,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T22:22:44.161Z","etag":null,"topics":["github-actions","slack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/int128.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-10-28T01:50:29.000Z","updated_at":"2026-05-02T20:23:24.000Z","dependencies_parsed_at":"2024-01-14T10:28:06.981Z","dependency_job_id":"3bfb11b3-631d-46ec-9a9b-e6f4a482338b","html_url":"https://github.com/int128/workflow-run-summary-action","commit_stats":{"total_commits":847,"total_committers":2,"mean_commits":423.5,"dds":0.0354191263282172,"last_synced_commit":"23348882e2afbd0b1100f4e33a7c4fb9e6cdf2df"},"previous_names":[],"tags_count":91,"template":false,"template_full_name":"int128/typescript-action","purl":"pkg:github/int128/workflow-run-summary-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fworkflow-run-summary-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fworkflow-run-summary-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fworkflow-run-summary-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fworkflow-run-summary-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/int128","download_url":"https://codeload.github.com/int128/workflow-run-summary-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/int128%2Fworkflow-run-summary-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32595222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["github-actions","slack"],"created_at":"2024-10-06T00:41:05.270Z","updated_at":"2026-05-04T05:05:00.883Z","avatar_url":"https://github.com/int128.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# workflow-run-summary-action [![ts](https://github.com/int128/workflow-run-summary-action/actions/workflows/ts.yaml/badge.svg)](https://github.com/int128/workflow-run-summary-action/actions/workflows/ts.yaml)\n\nThis action provides the summary of workflow run.\n\n## Getting Started\n\n### Example: Slack notification\n\nHere is a workflow to send the summary of workflow run to Slack using [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action).\n\n````yaml\nname: slack-notification\n\non:\n  workflow_run:\n    types:\n      - completed\n    branches:\n      - main\n\njobs:\n  failure:\n    if: github.event.workflow_run.conclusion == 'failure'\n    runs-on: ubuntu-latest\n    steps:\n      - uses: int128/workflow-run-summary-action@v1\n        id: summary\n      - uses: actions/github-script@v7\n        id: body-json\n        with:\n          script: return process.env.body\n        env:\n          body: |\n            @${{ github.actor }} Workflow \u003c${{ github.event.workflow_run.html_url }}|${{ github.event.workflow_run.name }}\u003e is ${{ github.event.workflow_run.conclusion }}.\n            ```\n            ${{ steps.summary.outputs.annotation-messages }}\n            ```\n      - if: steps.summary.outputs.cancelled == 'false' \u0026\u0026 steps.summary.outputs.skipped == 'false'\n        uses: slackapi/slack-github-action@v2\n        with:\n          method: chat.postMessage\n          token: ${{ secrets.SLACK_BOT_TOKEN }}\n          payload: |\n            channel: your-channel-id\n            blocks:\n              - type: section\n                text:\n                  type: mrkdwn\n                  text: ${{ steps.body-json.outputs.result }}\n````\n\n## Specification\n\nWhen this action is run on a `workflow_run` event, it inspects the target workflow run.\nOtherwise, it inspects the current workflow run.\n\n### Inputs\n\n| Name    | Default        | Description  |\n| ------- | -------------- | ------------ |\n| `token` | `github.token` | GitHub token |\n\n### Outputs\n\n| Name                          | Description                                     |\n| ----------------------------- | ----------------------------------------------- |\n| `annotation-messages`         | Annotation messages related to the workflow run |\n| `annotation-failure-messages` | Annotation messages of failure only             |\n| `pull-request-number`         | Number of associated pull request, if exists    |\n| `pull-request-url`            | URL of associated pull request, if exists       |\n| `cancelled`                   | `true` if any check run is cancelled            |\n| `skipped`                     | `true` if all checks are skipped                |\n\n#### Annotation messages\n\nIf the workflow run contains annotation messages, this action collects them and returns as a single string.\n\n- `annotation-messages`\n- `annotation-failure-messages`\n\n#### Associated pull request\n\nIf the commit of the workflow run is associated with a pull request, this action returns the following outputs:\n\n- `pull-request-number`\n- `pull-request-url`\n\n#### Conclusion\n\nGitHub Actions returns the `conclusion` of workflow run to failure, even if any job has been cancelled or skipped.\nYou can determine the conclusion using the following outputs:\n\n- `cancelled` indicates whether any job is cancelled.\n- `skipped` indicates whether all jobs are skipped.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint128%2Fworkflow-run-summary-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fint128%2Fworkflow-run-summary-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fint128%2Fworkflow-run-summary-action/lists"}