From baf4b67c289fb8bb3c9a47a6e5781ea0cfed1f70 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 14 Aug 2024 21:56:22 +0930 Subject: [PATCH] ci(collection): Add Ansible Collection workflow #15 #17 #18 https://github.com/nofusscomputing/action_ansible_collection/pull/1 --- .github/workflows/ci.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b6526c5..ab2a736 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,6 +16,18 @@ env: jobs: + collection: + name: 'Ansible Collection' + uses: nofusscomputing/action_ansible_collection/.github/workflows/reusable_ansible_collection.yaml@development + with: + ANSIBLE_COLLECTION_MARK_RELEASE_LIVE: true + ANSIBLE_GALAXY_NAMESPACE: "${{ github.repository_owner }}" + ANSIBLE_GALAXY_PACKAGE_NAME: "${{ github.event.repository.name }}" + ANSIBLE_LINTING_MUST_PASS: true + secrets: + ANSIBLE_GALAXY_UPLOAD_TOKEN: ${{ secrets.ANSIBLE_GALAXY_UPLOAD_TOKEN }} + + gitlab-mirror: if: ${{ github.repository == 'nofusscomputing/ansible_collection_centurion' }} runs-on: ubuntu-latest