{"id":26395730,"url":"https://github.com/devanoxltd/revive-action","last_synced_at":"2026-02-06T17:31:07.643Z","repository":{"id":178140615,"uuid":"661400924","full_name":"devanoxltd/revive-action","owner":"devanoxltd","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-10T17:25:02.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T15:05:51.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/devanoxltd.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"devanoxltd"}},"created_at":"2023-07-02T18:15:28.000Z","updated_at":"2024-06-10T17:24:10.000Z","dependencies_parsed_at":"2024-06-10T19:45:53.900Z","dependency_job_id":"20f51e0c-6ad9-43ff-9dfc-4b29467bbbb0","html_url":"https://github.com/devanoxltd/revive-action","commit_stats":null,"previous_names":["devanoxltd/revive-action"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/devanoxltd/revive-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanoxltd%2Frevive-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanoxltd%2Frevive-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanoxltd%2Frevive-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanoxltd%2Frevive-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devanoxltd","download_url":"https://codeload.github.com/devanoxltd/revive-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devanoxltd%2Frevive-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29170058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-03-17T11:19:07.107Z","updated_at":"2026-02-06T17:31:07.619Z","avatar_url":"https://github.com/devanoxltd.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/devanoxltd"],"categories":[],"sub_categories":[],"readme":"# GitHub Action for Devanox Laravel Revive\n\nGitHub Action for the [Devanox Laravel Revive](https://github.com/devanoxLtd/revive) package.\n\nIf your project requires PHP 8.1 use `devanoxLtd/revive-action@v2` which pulls in Laravel Revive `2.x`.\nIf your project requires PHP 8.0 use `devanoxLtd/revive-action@v1` which pulls in Laravel Revive `1.x`.\n\nThis action will not be able to find any additional scripts configured (`revive.json`) to run with Revive. You will have to install your dependencies and run Revive from there instead of using this action.\n\n\u003e [!NOTE]\n\u003e This action will **always** use the latest version of Revive.\n\u003e If you run into situation where Revive passes locally but the action fails you should first try updating Revive locally.\n\n## Usage\n\nUse with [GitHub Actions](https://github.com/features/actions)\n\n```yml\n# .github/workflows/revive.yml\nname: Revive\n\non:\n    push:\n        branches: main\n    pull_request:\n\njobs:\n  revive:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"revive\"\n        uses: devanoxLtd/revive-action@v2\n        with:\n          args: lint\n```\n\n---\n\nTo use additional Laravel Revive options use `args`:\n\n```yml\n# .github/workflows/revive.yml\nname: Revive\n\non:\n    push:\n        branches: main\n    pull_request:\n\njobs:\n  revive:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v4\n      - name: \"revive\"\n        uses: devanoxLtd/revive-action@v2\n        with:\n          args: lint --using=tlint,pint\n```\n\n---\n\nIf you would like to automatically commit any required fixes you can add the [Git Auto Commit Action](https://github.com/marketplace/actions/git-auto-commit) by [Stefan Zweifel](https://github.com/stefanzweifel).\n\n```yml\n# .github/workflows/revive.yml\nname: Revive Fix\n\non:\n    push:\n        branches: main\n    pull_request:\n\njobs:\n  revive:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n\n      - name: \"revive\"\n        uses: devanoxLtd/revive-action@v2\n        with:\n          args: fix\n\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: Revive Fix\n          commit_user_name: GitHub Action\n          commit_user_email: actions@github.com\n```\n\n\u003e**Note** The resulting commit **will not trigger** another GitHub Actions Workflow run.\n\u003eThis is due to [limitations set by GitHub](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow).\n\nTo get around this you can indicate a workflow should run after \"Revive Fix\" using the `workflow_run` option.\n\n```yml\non:\n    workflow_run:\n        workflows: [\"Revive Fix\"]\n        types:\n          - completed\n```\n\nThe name \"Revive Fix\" must match the name defined in your Revive workflow and [must be on the default branch](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_run).\n\nBe sure to check out the [action's documentation](https://github.com/marketplace/actions/git-auto-commit) for limitations and options.\n\n---\n\nTo automatically ignore these commits from GitHub's git blame you can add the commit's hash to a `.git-blame-ignore-revs` file.\n\n```yml\n# .github/workflows/revive.yml\nname: Revive Fix\n\non:\n    push:\n        branches: main\n    pull_request:\n\njobs:\n  revive:\n    runs-on: ubuntu-latest\n\n    permissions:\n      contents: write\n\n    steps:\n      - uses: actions/checkout@v4\n        with:\n          ref: ${{ github.head_ref }}\n\n      - name: \"Revive Fix\"\n        uses: devanoxLtd/revive-action@v2\n        with:\n          args: fix\n\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        id: auto_commit_action\n        with:\n          commit_message: Revive Fix\n          commit_user_name: GitHub Action\n          commit_user_email: actions@github.com\n\n      - name: Ignore Revive Fix commit in git blame\n        if: steps.auto_commit_action.outputs.changes_detected == 'true'\n        run: echo ${{ steps.auto_commit_action.outputs.commit_hash }} \u003e\u003e .git-blame-ignore-revs\n\n      - uses: stefanzweifel/git-auto-commit-action@v4\n        with:\n          commit_message: Ignore Revive Fix commit in git blame\n          commit_user_name: GitHub Action\n          commit_user_email: actions@github.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanoxltd%2Frevive-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevanoxltd%2Frevive-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevanoxltd%2Frevive-action/lists"}