{"id":15066918,"url":"https://github.com/wei18/githubswiftactions","last_synced_at":"2026-01-30T05:32:59.302Z","repository":{"id":255709181,"uuid":"853440701","full_name":"Wei18/GitHubSwiftActions","owner":"Wei18","description":"GitHub Composite Actions using the Swift.","archived":false,"fork":false,"pushed_at":"2025-02-17T14:37:12.000Z","size":64,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T17:50:51.549Z","etag":null,"topics":["github-actions","github-composite-actions","githubapi","oas3","swift","swift-package-manager"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/Wei18.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}},"created_at":"2024-09-06T16:57:33.000Z","updated_at":"2025-01-14T04:28:01.000Z","dependencies_parsed_at":"2025-01-14T05:26:16.838Z","dependency_job_id":"24b87be7-cb08-4733-bb59-7bffe498756d","html_url":"https://github.com/Wei18/GitHubSwiftActions","commit_stats":null,"previous_names":["wei18/githubswiftactions"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei18%2FGitHubSwiftActions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei18%2FGitHubSwiftActions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei18%2FGitHubSwiftActions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wei18%2FGitHubSwiftActions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wei18","download_url":"https://codeload.github.com/Wei18/GitHubSwiftActions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243834072,"owners_count":20355375,"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":["github-actions","github-composite-actions","githubapi","oas3","swift","swift-package-manager"],"created_at":"2024-09-25T01:13:59.807Z","updated_at":"2026-01-30T05:32:59.219Z","avatar_url":"https://github.com/Wei18.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FWei18%2FGitHubSwiftActions%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/Wei18/GitHubSwiftActions)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FWei18%2FGitHubSwiftActions%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/Wei18/GitHubSwiftActions)\n\n# GitHub Swift Actions (Beta)\n\n## Overview\n\nThis repository contains GitHub Composite Actions built using Swift. \n\n## Ideas  \nThis is a series of combinations:  \n- To create convenient use cases, a Swift package executable was created,  \n  - utilizing the OAS dependency: [github-rest-api-swift-openapi](https://github.com/Wei18/github-rest-api-swift-openapi)  \n- To create GitHub Composite Actions,  \n  - the Yams dependency is used: [Yams](https://github.com/jpsim/Yams)  \n- Then, GitHub Actions are utilized  \n  - to build the Swift package executable via Mint: [Mint](https://github.com/yonaskolb/Mint)  \n  - and to cache the Swift package executable via: [setup-mint](https://github.com/irgaly/setup-mint)\n\n## Action: Release\n\n### Description\n\nThe `Release` action creates on GitHub release using a Swift CLI tool. You can use it to bump major, minor, patch.\n\n## Action: Comment\n\n### Description\n\nThe `Comment` action comments on GitHub issues using a Swift CLI tool. You can use it to automatically craete or update comments.\n\n### Inputs\n\nThe `Comment` action requires the following inputs:\n\n- **`number`**: (required) The issue number to comment on.\n- **`body`**: (required) The body of the comment.\n- **`owner`**: (required) The owner of the repository.\n- **`repo`**: (required) The name of the repository.\n- **`token`**: (required) GitHub token with permissions to comment.\n- **`anchor`**: (required) Anchor text for the comment.\n\n### Example Usage\n\nTo use the `Comment` action in a GitHub Actions workflow, create a YAML file in the `.github/workflows` directory of your repository:\nhttps://github.com/Wei18/GitHubSwiftActions/blob/5e993bca0d3f050c590790954440a5953c81aeee/.github/workflows/Welcome.yml#L1-L24\n\n## Building the Action\n\nTo run the `Comment` action locally, use:\n\n```sh\nswift run --configuration release Comment\n```\n\n## Contributing\n\nFeel free to open issues or submit pull requests if you have improvements or bug fixes.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwei18%2Fgithubswiftactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwei18%2Fgithubswiftactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwei18%2Fgithubswiftactions/lists"}