From 58da8651a54ecb7b0ef2613b4f945d94be34f6d8 Mon Sep 17 00:00:00 2001 From: Nikhil Bhasin Date: Wed, 10 Dec 2025 15:46:36 +0530 Subject: [PATCH 1/2] remove code coverage --- .github/workflows/codecoverage.yml | 15 --------------- .github/workflows/tests.yml | 9 +-------- 2 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 .github/workflows/codecoverage.yml diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml deleted file mode 100644 index 7ae6b632..00000000 --- a/.github/workflows/codecoverage.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -name: "Code converage" - -on: # yamllint disable-line rule:truthy - push: - pull_request: - branches: [ main ] - -jobs: - codecoverage: - uses: ansible-network/github_actions/.github/workflows/coverage_network_devices.yml@main - with: - collection_pre_install: >- - git+https://github.com/ansible-collections/ansible.utils.git - git+https://github.com/ansible-collections/ansible.netcommon.git diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a9d232f4..a27e825f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,8 +8,6 @@ concurrency: on: # yamllint disable-line rule:truthy push: branches: [main] - pull_request: - branches: [main] pull_request_target: branches: [main] workflow_dispatch: @@ -19,7 +17,6 @@ on: # yamllint disable-line rule:truthy jobs: sonar: name: SonarCloud - if: github.event_name == 'push' || github.event_name == 'pull_request_target' uses: ansible/ansible-content-actions/.github/workflows/sonarcloud.yaml@main with: python_version: "3.12" @@ -29,23 +26,19 @@ jobs: changelog: uses: ansible/ansible-content-actions/.github/workflows/changelog.yaml@main - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request_target' ansible-lint: uses: ansible/ansible-content-actions/.github/workflows/ansible_lint.yaml@main - if: github.event_name != 'push' && github.event_name != 'pull_request_target' sanity: uses: ansible/ansible-content-actions/.github/workflows/sanity.yaml@main - if: github.event_name != 'push' && github.event_name != 'pull_request_target' unit-galaxy: uses: ansible/ansible-content-actions/.github/workflows/unit.yaml@main - if: github.event_name != 'push' && github.event_name != 'pull_request_target' integration: uses: ansible/ansible-content-actions/.github/workflows/integration.yaml@main - if: github.event_name != 'push' && github.event_name != 'pull_request_target' all_green: if: ${{ always() }} From b501f4001a5137486402775955260ef9238204cb Mon Sep 17 00:00:00 2001 From: Nikhil Bhasin Date: Wed, 10 Dec 2025 16:37:37 +0530 Subject: [PATCH 2/2] fix readme --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index ecac0969..93109f7a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # Ansible Utilities Collection -[![Codecov](https://codecov.io/gh/ansible-collections/ansible.utils/branch/main/graph/badge.svg)](https://codecov.io/gh/ansible-collections/ansible.utils) [![CI](https://github.com/ansible-collections/ansible.utils/actions/workflows/tests.yml/badge.svg?branch=main&event=schedule)](https://github.com/ansible-collections/ansible.utils/actions/workflows/tests.yml) The Ansible ``ansible.utils`` collection includes a variety of plugins that aid in the management, manipulation and visibility of data for the Ansible playbook developer.