{"id":27024504,"url":"https://github.com/lauchacarro/netcore-action-template","last_synced_at":"2026-04-20T09:34:42.421Z","repository":{"id":97621613,"uuid":"247668160","full_name":"lauchacarro/netcore-action-template","owner":"lauchacarro","description":"With this template you can build your Actions without having to configure anything. You just have to change the name and modify the C# code to your liking","archived":false,"fork":false,"pushed_at":"2023-05-08T20:43:35.000Z","size":104,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T12:50:36.611Z","etag":null,"topics":["actions","github","github-action","net"],"latest_commit_sha":null,"homepage":"","language":"C#","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/lauchacarro.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-16T10:02:51.000Z","updated_at":"2020-03-18T16:32:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd305739-3a19-4808-b2a3-39b0ebc37178","html_url":"https://github.com/lauchacarro/netcore-action-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/lauchacarro/netcore-action-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauchacarro%2Fnetcore-action-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauchacarro%2Fnetcore-action-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauchacarro%2Fnetcore-action-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauchacarro%2Fnetcore-action-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lauchacarro","download_url":"https://codeload.github.com/lauchacarro/netcore-action-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lauchacarro%2Fnetcore-action-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["actions","github","github-action","net"],"created_at":"2025-04-04T21:29:15.466Z","updated_at":"2026-04-20T09:34:42.395Z","avatar_url":"https://github.com/lauchacarro.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NETCore Action Template\nWith this template you can build your Actions without having to configure anything. You just have to change the name and modify the C# code to your liking\n\n## How to use?\n\n### Edit action.yml\n\nEdit action.yml Name, Description and Inputs but don't modify Runs\n\n``` yaml\nname: 'Template NET Core Action'\ndescription: 'Console greet whoever you tell'\ninputs:\n  who-to-greet: \n    required: true\nruns:\n  using: 'node12'\n  main: 'index.js'\n```\n\n### Create your Console with NETCore\n\nThe folder 'src' has a Console Project very basic.\nIf you want, you can delete it and create a new project. But you have to have a few indications.\n\n\nthe developer needs to get the parameters assigned to it in the workflow.\nFor this need I made a small library to obtain the parameter values in a simple way.\nThis library is [GitHubActionSharp](https://github.com/lauchacarro/GitHubActionSharp) and is available at NuGet\n\n``` csharp\nusing GitHubActionSharp;\nusing System;\n\nnamespace WhoToGreetAction\n{\n    enum Parameters\n    {\n        [Parameter(\"who-to-greet\")]\n        WhoToGreet\n    }\n\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            GitHubActionContext actionContext = new GitHubActionContext(args);\n            actionContext.LoadParameters();\n\n            string value = actionContext.GetParameter(Parameters.WhoToGreet);\n\n            Console.WriteLine($\"Hello {value}!\");\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flauchacarro%2Fnetcore-action-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flauchacarro%2Fnetcore-action-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flauchacarro%2Fnetcore-action-template/lists"}