{"id":15405306,"url":"https://github.com/ydah/mdformat-action","last_synced_at":"2025-04-17T00:53:27.388Z","repository":{"id":61960561,"uuid":"530623734","full_name":"ydah/mdformat-action","owner":"ydah","description":"Github Action for linting markdown files using mdformat","archived":false,"fork":false,"pushed_at":"2024-12-06T06:48:54.000Z","size":19,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T14:03:00.947Z","etag":null,"topics":["actions","formatting","github-actions","hacktoberfest","markdown"],"latest_commit_sha":null,"homepage":"","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/ydah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"ydah"}},"created_at":"2022-08-30T11:22:02.000Z","updated_at":"2024-12-06T06:48:16.000Z","dependencies_parsed_at":"2024-10-20T12:39:58.783Z","dependency_job_id":null,"html_url":"https://github.com/ydah/mdformat-action","commit_stats":{"total_commits":22,"total_committers":3,"mean_commits":7.333333333333333,"dds":"0.13636363636363635","last_synced_commit":"9a901aab2a879edd9ccc4f809a5c67224f2a2f30"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fmdformat-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fmdformat-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fmdformat-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ydah%2Fmdformat-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ydah","download_url":"https://codeload.github.com/ydah/mdformat-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249295085,"owners_count":21246039,"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":["actions","formatting","github-actions","hacktoberfest","markdown"],"created_at":"2024-10-01T16:16:00.153Z","updated_at":"2025-04-17T00:53:27.367Z","avatar_url":"https://github.com/ydah.png","language":"Shell","funding_links":["https://github.com/sponsors/ydah"],"categories":[],"sub_categories":[],"readme":"# mdformat-action\n\n[Custom action](https://docs.github.com/en//actions/creating-actions/about-custom-actions) for linting markdown files using [mdformat](https://github.com/executablebooks/mdformat).\n\n## Usage\n\nAdd the following workflow file to run the action:\n\n```yaml\n# .github/workflows/mdformat.yml\nname: Mdformat Action\non:\n  - pull_request\njobs:\n  mdformat:\n    name: Mdformat Action\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - name: Mdformat Action\n        uses: ydah/mdformat-action@main\n        with:\n          number: true\n        env:\n          GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Inputs\n\n### `file_or_dir`\n\n- File or Directory to do mdformat on.\n- default: `.`\n- optional\n\n### `number`\n\n- Apply consecutive numbering to ordered lists.\n- default: `false`\n- optional\n\n### `wrap`\n\n- Paragraph word wrap mode.\n  - keep\n  - no\n  - INTEGER\n- default: `keep`\n- optional\n\n### `end_of_line`\n\n- Output file line ending mode.\n  - lf\n  - crlf\n  - keep\n- default: `lf`\n- optional\n\n### `auto_correct`\n\n- Adding commit by autocorrect for mdformat.\n- default: `false`\n- optional\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydah%2Fmdformat-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fydah%2Fmdformat-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fydah%2Fmdformat-action/lists"}