{"id":15140553,"url":"https://github.com/ansible/ansible-content-actions","last_synced_at":"2025-10-19T16:30:30.849Z","repository":{"id":185565962,"uuid":"671419986","full_name":"ansible/ansible-content-actions","owner":"ansible","description":"Combine GitHub Actions to create a streamlined workflow for testing Ansible collection repositories on GitHub.","archived":false,"fork":false,"pushed_at":"2025-01-28T16:08:09.000Z","size":310,"stargazers_count":27,"open_issues_count":5,"forks_count":10,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-01-28T16:36:26.935Z","etag":null,"topics":["actions","ansible","github-actions","hacktoberfest","testing"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansible.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-27T09:20:48.000Z","updated_at":"2025-01-28T11:40:47.000Z","dependencies_parsed_at":"2023-12-08T07:25:57.039Z","dependency_job_id":"3d38e86f-c62a-4925-9aee-8bfc2ed72ce2","html_url":"https://github.com/ansible/ansible-content-actions","commit_stats":{"total_commits":131,"total_committers":6,"mean_commits":"21.833333333333332","dds":"0.10687022900763354","last_synced_commit":"55c5c9005971ea79601dfa9107b083977d00f31a"},"previous_names":["kb-perbyte/hold_gha","ansible/ansible-github-actions","ansible/ansible-content-actions"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible%2Fansible-content-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible%2Fansible-content-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible%2Fansible-content-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansible%2Fansible-content-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansible","download_url":"https://codeload.github.com/ansible/ansible-content-actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237163137,"owners_count":19265218,"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":["actions","ansible","github-actions","hacktoberfest","testing"],"created_at":"2024-09-26T08:23:42.695Z","updated_at":"2025-10-19T16:30:25.556Z","avatar_url":"https://github.com/ansible.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-content-actions\n\nCombine GitHub Actions to create a streamlined workflow for testing Ansible collection repositories on GitHub.\n\n## Usage\n\nTo use the action, create a workflow in your repository like\n`.github/workflows/test.yaml`:\n\n```yaml\n---\nname: ci\n\nconcurrency:\n  group: ${{ github.head_ref || github.run_id }}\n  cancel-in-progress: true\n\non:\n  pull_request:\n    branches: [main]\n  workflow_dispatch:\n  schedule:\n    - cron: \"0 0 * * *\"\n\njobs:\n  changelog:\n    uses: ansible/ansible-content-actions/.github/workflows/changelog.yaml@main\n    if: github.event_name == 'pull_request'\n  ansible-lint:\n    uses: ansible/ansible-content-actions/.github/workflows/ansible_lint.yaml@main\n  sanity:\n    uses: ansible/ansible-content-actions/.github/workflows/sanity.yaml@main\n  unit-galaxy:\n    uses: ansible/ansible-content-actions/.github/workflows/unit.yaml@main\n  integration:\n    uses: ansible/ansible-content-actions/.github/workflows/integration.yaml@main\n  all_green:\n    if: ${{ always() }}\n    needs:\n      - changelog\n      - sanity\n      - integration\n      - unit-galaxy\n      - ansible-lint\n    runs-on: ubuntu-latest\n    steps:\n      - run: \u003e-\n          python -c \"assert 'failure' not in\n          set([\n          '${{ needs.changelog.result }}',\n          '${{ needs.integration.result }}',\n          '${{ needs.sanity.result }}',\n          '${{ needs.unit-galaxy.result }}'\n          '${{ needs.ansible-lint.result }}'\n          ])\"\n```\n\n## Scope\n\nThis combined GitHub Action covers the following action workflows:\n\n- Ansible-lint - Checks playbooks for practices and behavior that could potentially be improved.\n- Sanity - Uses tox-ansible generates a testing matrix and runs sanity checks.\n- Unit - Installs the collection and all its dependencies from Galaxy and runs unit tests against a matrix generated via tox-ansible.\n- Integration - Installs the collection and all its dependencies from Galaxy and runs integration tests against a matrix generated via tox-ansible.\n- Changelog - Checks for a changelog entry with the PR, fails if missing or invalid.\n- Release - Push release to Automation Hub and Ansible Galaxy, requires (token/secrets).\n- Release Galaxy - Push a release to Ansible Galaxy only.\n- Release Automation Hub - Push a release to Ansible Automation Hub only.\n- Draft Release - Generates changelog entries for release, also raises a PR with changelog and galaxy file updated.\n- Check Label - Check if a valid label added to the PR is required by the release drafter.\n\n## Licensing\n\nansible-content-actions is released under the Apache License version 2.\n\nSee the [LICENSE](https://github.com/ansible/ansible-content-actions/blob/main/LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible%2Fansible-content-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansible%2Fansible-content-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansible%2Fansible-content-actions/lists"}