{"id":21108940,"url":"https://github.com/stirlinglabs/actions","last_synced_at":"2026-01-29T03:13:20.369Z","repository":{"id":65365829,"uuid":"545321047","full_name":"StirlingLabs/Actions","owner":"StirlingLabs","description":"PUBLIC GitHub Actions Workflows used in StirlingLabs","archived":false,"fork":false,"pushed_at":"2024-09-03T22:14:42.000Z","size":148,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-29T15:16:18.899Z","etag":null,"topics":["actions","workflows"],"latest_commit_sha":null,"homepage":"","language":null,"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/StirlingLabs.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}},"created_at":"2022-10-04T06:50:52.000Z","updated_at":"2023-04-16T20:04:08.000Z","dependencies_parsed_at":"2025-05-29T15:18:47.374Z","dependency_job_id":null,"html_url":"https://github.com/StirlingLabs/Actions","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/StirlingLabs/Actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StirlingLabs%2FActions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StirlingLabs%2FActions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StirlingLabs%2FActions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StirlingLabs%2FActions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StirlingLabs","download_url":"https://codeload.github.com/StirlingLabs/Actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StirlingLabs%2FActions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277902138,"owners_count":25897326,"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","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"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","workflows"],"created_at":"2024-11-20T00:49:40.766Z","updated_at":"2025-10-01T20:30:33.567Z","avatar_url":"https://github.com/StirlingLabs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# StirlingLabs/Actions\n\n⚠️ This is a special repo!  It has a private partner at [StirlingLabs/Actions-private](https://github.com/StirlingLabs/Actions-private)\n\n\n## Our **PUBLIC** GitHub Actions Workflows\n\n- 'dotnetBuild' builds Stirling Labs C# repos that are prepared appropriately:\n  - Include [Version.Net](https://github.com/StirlingLabs/Version.Net) (see page for details)\n  - Uses [GitHubActionsTestLogger](https://github.com/Tyrrrz/GitHubActionsTestLogger) (`dotnet add package GitHubActionsTestLogger`)\n- `dotnetRelease`\n- `linter` lints code, including this repo.\n- 'metadata' tries to get information about the project.\n- `name` tries to get the project name (used by metadata).\n- `Threshold` reduces pointless runs if nothing has changed since the last run (use `[forceci]` in commit message to force run).\n- `version` tries to ascertain the version of the project (used by metadata).\n\n\n## GitHub Reuusable Actions\n\n- See GitHub documentation on [Reusable Workflows]](https://github.blog/2022-02-10-using-reusable-workflows-github-actions/) for details.\n\n## Coding Recommendations\n\n- Break up steps as much as you can, practically.  This makes it easier for users to see what has happened.\n- `echo` enough to make sure a user can see what has gone wrong.  Be a bit more verbose than you might assume, because users won't have as much context as you do when writing it.\n- Use bash as your shell unless forced not to by some important external requirement.\n  - `default: ... shell: bash` is generally available and should be used whenever possible \n  - job-level `env` is useful for turning off dotnet tracking \u0026 logo:\n    ```yaml\n      env:\n        DOTNET_NOLOGO: true\n        DOTNET_CLI_TELEMETRY_OPTOUT: true\n    ```\n- Within steps:\n  - `env` comes before `run`\n  - Use bash functions to organise code\n    - At least `main() {}`\n  - End bash scripts with at least `exit` but ideally `main \"$@\" ; exit`.  This makes it easy to see the end of the script within the Action (amoung other benefits).\n- lowerCamelCase variables in bash but lower_snake_case in `$GITHUB_OUTPUT`.\n- Try not to use \"true\" \u0026 \"false\" as string values (it is confusing when compared to input booleans) rather use more meaningful variables and values.  E.g.\n  - ❌ `continue=true`\n  - ✅ `result=success`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstirlinglabs%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstirlinglabs%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstirlinglabs%2Factions/lists"}