{"id":25765423,"url":"https://github.com/pixellot/workflow-status","last_synced_at":"2026-06-12T12:31:11.532Z","repository":{"id":115031660,"uuid":"281421446","full_name":"Pixellot/workflow-status","owner":"Pixellot","description":"public repo for github action that reports on a github action workflow run final status.","archived":false,"fork":false,"pushed_at":"2023-11-30T08:38:10.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T22:18:47.428Z","etag":null,"topics":["cloud","devops"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/Pixellot.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":"2020-07-21T14:32:51.000Z","updated_at":"2024-10-27T18:24:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"b89f9c4d-5598-4801-a980-78551d4b9248","html_url":"https://github.com/Pixellot/workflow-status","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pixellot/workflow-status","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixellot%2Fworkflow-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixellot%2Fworkflow-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixellot%2Fworkflow-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixellot%2Fworkflow-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pixellot","download_url":"https://codeload.github.com/Pixellot/workflow-status/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pixellot%2Fworkflow-status/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34245217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":["cloud","devops"],"created_at":"2025-02-26T22:18:46.281Z","updated_at":"2026-06-12T12:31:11.525Z","avatar_url":"https://github.com/Pixellot.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workflow Status Action \n\nThis action returns the workflow status (Success, Cancelled, Failure), in case of failure it also returns the failed job name and the failed job step name, also a color hex code is returned  for each one of the workflow statuses (it's optional may be used for slack intergration).\n\nThis action should run as part of the final job in the workflow (it doesn't report on the job it's currently running, doesnt report itself).\nthe job the action runs should \"need\" all the other jobs in the workflow, that way it will run after all other jobs have finished.\nthe job it runs in should run with \"if: always()\" clause, that way it will run and report on failure as well.\n\nthe job assumes workflow success, and changes its status on first job that report's a \"cancel\" or \"failure\" state as a final conclustion.\n\n## Inputs\n \n| Name              | Required | Description                                                                                                            |\n| :---              |   :---:  | :---                                                                                                                   |\n| workflow_name     | required | The name of the workflow we are curently running. Default:      `\"${{ github.workflow }}\"`.                            |\n| github_run_id     | required | A unique number for each run within a repository. This number does not change if you re-run the workflow run. Default:        `\"${{ github.run_id }}\"`.                                                                                                                              | \n| github_repository | required | The owner and repository name. e.g, pixellot/Hello-World. Default: `\"${{ github.repository }}\"`.                       |     \n| github_token      | required | A token to authenticate on behalf of the GitHub App installed on your repository.           `\"${{ github.token }}\"`.   |\n\n\n## Outputs\n\n| Name                  | Description                                                                               |\n| :---                  | :---                                                                                      |\n| workflow_result       | The result of the current workflow run (Success, Cancelled, Failure).                     |\n| failed_job            | The name of the job that was failed (only if workflow conclusion is Failure).             |\n| failed_step           | The name of the step that was failed (only if workflow conclusion is Failure).            | \n| notification_color    | The color for A slack notification (Green - Success, Yelllow - Cancelled, Red - Failure). |\n| notification_icon     | An icon for A slack notification.                                                         |\n\n## Example usage\n```yaml\n# ci-WORKFLOW-yaml\n\nname: Node.js CI\non:\n  push:\n    branches: [ master ]    \njobs:\n\nint:\n  name: ESLint\n  runs-on: ubuntu-latest\n  ...\n\ntest:\n  name: Coverage\n  needs: lint\n  strategy:\n    matrix:\n      node: ['11', '12']\n  ...\n\npublish:\n  name: Publish Package\n  needs: test\n  if: startsWith(github.ref, 'refs/tags/v')\n  ...\n\nsend_notification:\n  name: send-notification\n  runs-on: ubuntu-latest\n  needs: [int, test, publish]                 # Should need all the jobs in the workflow, that way it will run only after all other jobs.\n  if: always()                                # this will make sure the job will run and report on failure as well.\n  steps:\n  \n  - name: Workflow Status \n    id: workflow-status\n    uses: pixellot/workflow-status@master\n    with:\n      workflow_name:  ${{ github.workflow }}\n      github_run_id: ${{ github.run_id }}\n      github_repository: ${{ github.repository }}\n      github_token: ${{ github.token }}\n\n  - name: Slack Notification\n        uses: rtCamp/action-slack-notify@master\n        env:\n          SLACK_WEBHOOK: '${{ secrets.SLACK_URL }}'\n          SLACK_CHANNEL: 'github-action-slack'\n          SLACK_COLOR: '${{ steps.workflow-Status.outputs.notification_color }}'\n          SLACK_ICON: https://github.githubassets.com/images/modules/logos_page/Octocat.png?size=48\n          SLACK_MESSAGE: \"Workflow *${{ steps.workflow-Status.outputs.workflow_result }}*\\nJob: ${{ steps.workflow-Status.outputs.failed_job }}\\nStep: ${{ steps.workflow-Status.outputs.failed_step }}\"\n          SLACK_TITLE: 'Status:'\n          SLACK_USERNAME: GitHub Action\n          SLACK_FOOTER: '${{ github.workflow }}#${{ github.run_number }}'    \n    \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixellot%2Fworkflow-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixellot%2Fworkflow-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixellot%2Fworkflow-status/lists"}