{"id":16236753,"url":"https://github.com/anuraghazra/code-runner-action","last_synced_at":"2025-03-19T15:31:04.737Z","repository":{"id":43873401,"uuid":"245967753","full_name":"anuraghazra/code-runner-action","owner":"anuraghazra","description":"Github action to run javascript code snippets from issues.","archived":false,"fork":false,"pushed_at":"2022-09-28T13:12:59.000Z","size":252,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T20:56:26.942Z","etag":null,"topics":["actions","githubactions","githubhackathon","utility"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/anuraghazra.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}},"created_at":"2020-03-09T07:16:14.000Z","updated_at":"2023-09-08T18:04:21.000Z","dependencies_parsed_at":"2023-01-11T17:22:28.861Z","dependency_job_id":null,"html_url":"https://github.com/anuraghazra/code-runner-action","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"03bf2d12788207f3f87a2f1aec073c798fc5ae2f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuraghazra%2Fcode-runner-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuraghazra%2Fcode-runner-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuraghazra%2Fcode-runner-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anuraghazra%2Fcode-runner-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anuraghazra","download_url":"https://codeload.github.com/anuraghazra/code-runner-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244003058,"owners_count":20382115,"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","githubactions","githubhackathon","utility"],"created_at":"2024-10-10T13:32:48.807Z","updated_at":"2025-03-19T15:31:02.179Z","avatar_url":"https://github.com/anuraghazra.png","language":"JavaScript","readme":"# Github Code Runner Action\n\nGithub action to run code snippets from issues.\nThis action extracts code from Github Issue's markdown blocks and execute it.\n\n* [Usage](#usage)\n* [License](#license)\n\n## Usage\n\nTo use this action in your project, please follow the [instructions on GitHub](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow) for initiating a workflows folder structure in your repository, if you have not done so already. \n\nOnce you have your workflow structure set up, you can create a new workflow YAML file inside `/.github/workflows/` that contains the following:\n\n```\non:\n  issues:\n    types: [opened, edited]\n\njobs:\n  code_runner_job:\n    runs-on: ubuntu-latest\n    name: Code Runner\n    steps:\n    - name: Run Code\n      uses: anuraghazra/code-runner-action@v1\n    env:\n      GITHUB_TOKEN: \"${{ secrets.GITHUB_TOKEN }}\"\n```\n\nNow when you `opened`, `edited` any issues this action will run and post a comment with the output of your executed codeblock.\n\n## License\n\nThis project is under the [MIT License](LICENSE.txt)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuraghazra%2Fcode-runner-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanuraghazra%2Fcode-runner-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanuraghazra%2Fcode-runner-action/lists"}