{"id":20838493,"url":"https://github.com/reload/action-backstop-review","last_synced_at":"2025-10-08T03:47:38.465Z","repository":{"id":40261583,"uuid":"435425772","full_name":"reload/action-backstop-review","owner":"reload","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-18T23:12:05.000Z","size":174,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T09:44:26.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reload.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-06T09:00:18.000Z","updated_at":"2021-12-06T14:35:01.000Z","dependencies_parsed_at":"2022-08-17T21:15:37.349Z","dependency_job_id":null,"html_url":"https://github.com/reload/action-backstop-review","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reload/action-backstop-review","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Faction-backstop-review","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Faction-backstop-review/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Faction-backstop-review/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Faction-backstop-review/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reload","download_url":"https://codeload.github.com/reload/action-backstop-review/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Faction-backstop-review/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278886412,"owners_count":26062975,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-18T01:10:28.802Z","updated_at":"2025-10-08T03:47:38.447Z","avatar_url":"https://github.com/reload.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-approve-failure\n\nGitHub action that let's you turn failure into success. For a short while.\n\n## Example\n\nPresume you have a couple of jobs that run on pull requests.\n(These are merely examples but take a look in `.github/workflows` for closer inspection)\n\n```yaml\nname: Checks\n\non: pull_request\n\njobs:\n  checks:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: LouisBrunner/checks-action@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          name: BackstopJS visual test\n          conclusion: failure\n\n      - uses: LouisBrunner/checks-action@v1\n        with:\n          token: ${{ secrets.GITHUB_TOKEN }}\n          name: ESLint\n          conclusion: failure\n```\n\nThese jobs might from time to time need to be forced into success since a failure\nmight just be a new state.\n\nIn comes `action-approve-failure`:\n\n```yaml\nname: Approve failure\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  approve-failure:\n    # This condition is important since you want to prevent all of the steps\n    # from running as early as possible if the comment isn't in a PR.\n    if: ${{ github.event.issue.pull_request }}\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: reload/action-approve-failure@1.0.0\n        name: Approve BackstopJS\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          check_name: BackstopJS visual test\n          approve_comment: backstop-check approve\n\n      - uses: reload/action-approve-failure@1.0.0\n        name: Approve ESLint\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          check_name: ESLint\n          approve_comment: eslint-check approve\n```\n\nNow, by simply commenting `backstop-check approve` you can turn that `failure`\ninto a `success`. The victory is short lived though. Whenever the PR get's\nupdated and the jobs re-run your override will be lost and you are forced to\nyet again determine if this failure is change of state or an actual failure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Faction-backstop-review","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freload%2Faction-backstop-review","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Faction-backstop-review/lists"}