{"id":13533618,"url":"https://github.com/robertdebock/galaxy-action","last_synced_at":"2025-06-22T05:06:34.069Z","repository":{"id":39907864,"uuid":"229380766","full_name":"robertdebock/galaxy-action","owner":"robertdebock","description":"Publish Ansible roles to Galaxy","archived":false,"fork":false,"pushed_at":"2022-06-24T10:35:16.000Z","size":15,"stargazers_count":32,"open_issues_count":4,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-22T00:53:04.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/robertdebock.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}},"created_at":"2019-12-21T05:24:38.000Z","updated_at":"2024-06-05T13:06:56.000Z","dependencies_parsed_at":"2023-01-11T17:21:48.702Z","dependency_job_id":null,"html_url":"https://github.com/robertdebock/galaxy-action","commit_stats":{"total_commits":18,"total_committers":3,"mean_commits":6.0,"dds":0.2222222222222222,"last_synced_commit":"6e5d9a2d8cc2ff266d4430968880406656aef67d"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/robertdebock/galaxy-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fgalaxy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fgalaxy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fgalaxy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fgalaxy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertdebock","download_url":"https://codeload.github.com/robertdebock/galaxy-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdebock%2Fgalaxy-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261238910,"owners_count":23128882,"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-08-01T07:01:21.511Z","updated_at":"2025-06-22T05:06:29.049Z","avatar_url":"https://github.com/robertdebock.png","language":null,"funding_links":[],"categories":["Community Resources"],"sub_categories":["Deployment"],"readme":"# Galaxy action\n\nA GitHub action to publish your [Ansible](https://www.ansible.com/) role to [Galaxy](https://galaxy.ansible.com/).\n\n## Requirements\n\nThis action expects the following (default Ansible role) structure:\n```\n.\n├── defaults\n│   └── main.yml\n├── handlers\n│   └── main.yml\n├── meta\n│   └── main.yml\n├── requirements.yml\n├── tasks\n│   └── main.yml\n└── vars\n    └── main.yml\n```\n\n## Inputs\n\n### `galaxy_api_key`\n\nThe API Key for your personal Galaxy account. Found under https://galaxy.ansible.com/me/preferences . You can store this key in GitHub's Settings -\u003e Secrets -\u003e New repository secret. (Name: galaxy_api_key, Value: The token you copied from Galaxy.)\n\n### `path`\n\nFor repositories that have multiple roles, you can specify a (relative) path to go into before releasing the role. Defaults to `./`. An example value could be `my_role`.\n\n### `git_branch`\n\nYou may specify a specific branch to push. The default is `master`.\n\n## Example usage\n\n```yaml\n---\nname: GitHub Action\n\non:\n  - push\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n      - name: galaxy\n        uses: robertdebock/galaxy-action@1.2.0\n        with:\n          galaxy_api_key: ${{ secrets.galaxy_api_key }}\n```\n\nHere is a another example that uses molecule to test the role and this Galaxy action to release:\n\n```yaml\nname: GitHub Action\n\non:\n  - push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n        with:\n          path: \"${{ github.repository }}\"\n      - name: molecule\n        uses: robertdebock/molecule-action@4.0.7\n  release:\n    needs:\n      - test\n    runs-on: ubuntu-latest\n    steps:\n      - name: galaxy\n        uses: robertdebock/galaxy-action@1.2.0\n        with:\n          galaxy_api_key: ${{ secrets.galaxy_api_key }}\n```\n\nWhen you have multiple roles in your repository, you can release one specific role by specifying a `path`:\n\n```yaml\n---\nname: GitHub Action\n\non:\n  - push\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: checkout\n        uses: actions/checkout@v2\n      - name: galaxy\n        uses: robertdebock/galaxy-action@1.2.0\n        with:\n          galaxy_api_key: ${{ secrets.galaxy_api_key }}\n          path: my_role\n          git_branch: my_branch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdebock%2Fgalaxy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertdebock%2Fgalaxy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdebock%2Fgalaxy-action/lists"}