{"id":15726529,"url":"https://github.com/yoannchaudet/actions-min-utils","last_synced_at":"2025-10-16T20:32:35.463Z","repository":{"id":222943969,"uuid":"753451198","full_name":"yoannchaudet/actions-min-utils","owner":"yoannchaudet","description":"A minimal toolkit for .NET Core GitHub Actions","archived":false,"fork":false,"pushed_at":"2025-04-30T23:42:35.000Z","size":343,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-01T00:34:54.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/yoannchaudet.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,"zenodo":null}},"created_at":"2024-02-06T06:28:02.000Z","updated_at":"2025-04-30T23:42:37.000Z","dependencies_parsed_at":"2024-07-05T23:15:08.492Z","dependency_job_id":"dfd984b0-d8ad-4de7-a5d1-cdf4c1e1c965","html_url":"https://github.com/yoannchaudet/actions-min-utils","commit_stats":null,"previous_names":["yoannchaudet/actions-min-utils"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchaudet%2Factions-min-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchaudet%2Factions-min-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchaudet%2Factions-min-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoannchaudet%2Factions-min-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoannchaudet","download_url":"https://codeload.github.com/yoannchaudet/actions-min-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252712184,"owners_count":21792265,"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-10-03T22:27:39.894Z","updated_at":"2025-10-16T20:32:35.410Z","avatar_url":"https://github.com/yoannchaudet.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActionsMinUtils\n\nThis is a very small set of utilities for working with [.NET Core][dotnet] based [GitHub Actions][actions].\n\nThis library is intended particularly at making it easier to [build Docker container Actions][docker-container-action].\n\nIt contains utilities for:\n\n- logging\n- dealing with inputs and environment variables\n- talking to GitHub APIs (with retry)\n\n## `Logger`\n\nThe [`Logger`](./ActionsMinUtils/Logger.cs) class is a simple wrapper around the `System.Console` class. It provides a few convenience methods for logging messages to the console in a way Actions can understand.\n\n## `ActionContext`\n\nThe [`ActionContext`](./ActionsMinUtils/ActionContext.cs) class provides methods for reading and validating both environment variables and inputs. As a matter of fact, to avoid having to deal with container `args`, inputs are read from environment variables!\n\n## `github`\n\nThis namespace provides various GitHub specific utilities.\n\n### `DefaultVariables`\n\nThe [`DefaultVariables`](./ActionsMinUtils/github/DefaultVariables.cs) class defines useful constants for referring to default environment variables exposed to Actions runners.\n\n### `GitHub`\n\nThe [`GitHub`](./ActionsMinUtils/github/GitHub.cs) class defines two clients for talking to GitHub APIs, Rest and GraphQL.\n\n## `templating`\n\n### `MarkersParser`\n\nThe [`MarkersParser`](./ActionsMinUtils/templating/MarkersParser.cs) class provides utilities for parsing and formatting simple [`Markers`](./ActionsMinUtils/templating/Marker.cs). They are meant to be one-liner embedded in various text files (Markdown, YAML, etc.).\n\n### `Templates`\n\nThe [`Templates`](./ActionsMinUtils/templating/Templates.cs) class provides basic templating capabilities using [Liquid][liquid] to parse templates from string or files. It comes with basic support for [`Markers`](./ActionsMinUtils/templating/Marker.cs) too and can be used to render arbitrary supplied variables.\n\n\u003c!-- Refs --\u003e\n\n[dotnet]: https://dotnet.microsoft.com\n[actions]: https://docs.github.com/en/actions\n[docker-container-action]: https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action\n[liquid]: https://shopify.github.io/liquid/basics/introduction/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannchaudet%2Factions-min-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoannchaudet%2Factions-min-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoannchaudet%2Factions-min-utils/lists"}