{"id":19705173,"url":"https://github.com/linux-system-roles/lsr-woke-action","last_synced_at":"2025-07-30T02:06:35.812Z","repository":{"id":249674667,"uuid":"682105544","full_name":"linux-system-roles/lsr-woke-action","owner":"linux-system-roles","description":"For of https://github.com/get-woke/woke-action with added `--count-only-error-for-failure` from https://github.com/get-woke/woke/pull/252","archived":false,"fork":false,"pushed_at":"2023-08-23T13:05:09.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-10T12:17:37.758Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/linux-system-roles.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":"2023-08-23T13:02:06.000Z","updated_at":"2023-08-23T13:05:13.000Z","dependencies_parsed_at":"2024-07-22T17:50:38.195Z","dependency_job_id":null,"html_url":"https://github.com/linux-system-roles/lsr-woke-action","commit_stats":null,"previous_names":["linux-system-roles/lsr-woke-action"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Flsr-woke-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Flsr-woke-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Flsr-woke-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-system-roles%2Flsr-woke-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linux-system-roles","download_url":"https://codeload.github.com/linux-system-roles/lsr-woke-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241020389,"owners_count":19895432,"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","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-11T21:26:41.380Z","updated_at":"2025-02-27T13:47:26.348Z","avatar_url":"https://github.com/linux-system-roles.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# woke-action\n\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/get-woke/woke-action?logo=github\u0026sort=semver)](https://github.com/get-woke/woke-action/releases)\n\nWoke GitHub Actions allow you to execute [`woke`](https://github.com/get-woke/woke) command within GitHub Actions.\n\nThe output of the actions can be viewed from the Actions tab in the main repository view.\n\n## Usage\n\nThe most common usage is to run `woke` on a file/directory. This workflow can be configured by adding the following content to the GitHub Actions workflow YAML file (ie in `.github/workflows/woke.yaml`).\n\n```yaml\nname: woke\non:\n  - pull_request\njobs:\n  woke:\n    name: woke\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      - name: woke\n        uses: get-woke/woke-action@v0\n        with:\n          # Cause the check to fail on any broke rules\n          fail-on-error: true\n```\n\n## Inputs\n\nInputs to configure the `woke` GitHub Actions.\n\n| Input            | Default               | Description                                                                                       |\n|------------------|-----------------------|---------------------------------------------------------------------------------------------------|\n| `woke-args`      | `.`                   | (Optional) Additional flags to run woke with (see \u003chttps://github.com/get-woke/woke#usage\u003e) |\n| `woke-version`   | latest                | (Optional) Release version of `woke` (defaults to latest version)                                 |\n| `fail-on-error`  | `false`               | (Optional) Fail the GitHub Actions check for any failures.                                        |\n| `workdir`        | `.`                   | (Optional) Run `woke` this working directory relative to the root directory.                      |\n| `github-token`   | `${{ github.token }}` | (Optional) Custom GitHub Access token (ie `${{ secrets.MY_CUSTOM_TOKEN }}`).                      |\n\n## License\n\nThis application is licensed under the MIT License, you may obtain a copy of it\n[here](https://github.com/get-woke/woke-action/blob/main/LICENSE).\n\n## Only Changed Files\n\nIf you're interested in only running `woke` against files that have changed in a PR,\nconsider something like [Get All Changed Files Action](https://github.com/marketplace/actions/get-all-changed-files). With this, you can add a workflow that looks like:\n\n```yaml\n\nname: 'woke'\non:\n  - pull_request\njobs:\n  woke:\n    name: 'woke'\n    runs-on: ubuntu-latest\n    steps:\n      - name: 'Checkout'\n        uses: actions/checkout@v2\n\n      - uses: jitterbit/get-changed-files@v1\n        id: files\n\n      - name: 'woke'\n        uses: get-woke/woke-action@v0\n        with:\n          # Cause the check to fail on any broke rules\n          fail-on-error: true\n          # See https://github.com/marketplace/actions/get-all-changed-files\n          # for more options\n          woke-args: ${{ steps.files.outputs.added_modified }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-system-roles%2Flsr-woke-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinux-system-roles%2Flsr-woke-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-system-roles%2Flsr-woke-action/lists"}