{"id":13474200,"url":"https://github.com/OmarTawfik/github-actions-js","last_synced_at":"2025-03-26T21:30:52.760Z","repository":{"id":143880091,"uuid":"170112613","full_name":"OmarTawfik/github-actions-js","owner":"OmarTawfik","description":"Provides linting APIs on the command line, through Node.js, and rich code editing through VSCode.","archived":true,"fork":false,"pushed_at":"2019-05-02T08:58:55.000Z","size":339,"stargazers_count":15,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-23T04:49:58.911Z","etag":null,"topics":["actions","extension","github","linter","parser","vscode","workflows"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/OmarTawfik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2019-02-11T10:49:50.000Z","updated_at":"2023-11-07T12:50:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"27fe39cb-d068-4be0-928b-2c348c9bf9d6","html_url":"https://github.com/OmarTawfik/github-actions-js","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarTawfik%2Fgithub-actions-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarTawfik%2Fgithub-actions-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarTawfik%2Fgithub-actions-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmarTawfik%2Fgithub-actions-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmarTawfik","download_url":"https://codeload.github.com/OmarTawfik/github-actions-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221941460,"owners_count":16905301,"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","extension","github","linter","parser","vscode","workflows"],"created_at":"2024-07-31T16:01:10.298Z","updated_at":"2024-10-30T05:30:52.975Z","avatar_url":"https://github.com/OmarTawfik.png","language":"TypeScript","readme":"# GitHubActions.js [![CircleCI](https://circleci.com/gh/OmarTawfik/github-actions-js.png?style=svg)](https://circleci.com/gh/OmarTawfik/github-actions-js)\n\nProvides linting APIs on the command line, through Node.js, and rich code editing through VSCode.\n\n### Using the NPM Package\n\n\u003e https://www.npmjs.com/package/github-actions-linter\n\nAdd the package through npm/yarn:\n\n```bash\n$ npm i github-actions-linter\n$ yarn add github-actions-linter\n```\n\nRun linter through Node.js:\n\n```ts\nimport { lint } from \"github-actions-linter\";\n\nconst diagnostics = lint(code);\nconsole.log(diagnostics.length + \" errors were found.\");\n\ndiagnostics.forEach(diagnostic =\u003e {\n  console.log(diagnostic.message);\n});\n```\n\nOr invoke through the CLI:\n\n```bash\n$ github-actions-linter file1.workflow file2.workflow\n```\n\nIt will exit cleanly if no errors were found, or with a positive error code (number of errors) if any existed:\n\n![image](https://user-images.githubusercontent.com/15987992/53709938-bedad000-3def-11e9-8cc5-8ab55b1462e2.png)\n\n### Using the VSCode Extension\n\n\u003e https://marketplace.visualstudio.com/items?itemName=OmarTawfik.github-actions-vscode\n\nThe VSCode extension provides many features, like inserting code snippets, colorization, formatting, and providing diagnostics as you type.\n\n![image](https://user-images.githubusercontent.com/15987992/54337709-ed755980-45ec-11e9-9920-fd8e854437fb.gif)\n","funding_links":[],"categories":["Community Resources","TypeScript"],"sub_categories":["Testing and Linting","Static Analysis"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmarTawfik%2Fgithub-actions-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOmarTawfik%2Fgithub-actions-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOmarTawfik%2Fgithub-actions-js/lists"}