From 841b63da22ecc39b2fe1396b5f6799cff385fe3f Mon Sep 17 00:00:00 2001 From: Nat Morris Date: Wed, 9 Oct 2024 21:08:40 +0100 Subject: [PATCH 1/2] feat: Initial netbox-plugin manifest --- netbox-plugin.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 netbox-plugin.yaml diff --git a/netbox-plugin.yaml b/netbox-plugin.yaml new file mode 100644 index 0000000..ba56723 --- /dev/null +++ b/netbox-plugin.yaml @@ -0,0 +1,12 @@ +version: 0.1 +package_name: netboxlabs-netbox-branching +compatibility: + - release: 0.5.1 + netbox_min: 4.1.0 + netbox_max: 4.1.3 + - release: 0.5.0 + netbox_min: 4.1.0 + netbox_max: 4.1.1 + - release: 0.4.0 + netbox_min: 4.1.0 + netbox_max: 4.1.1 From 008077cbdd54c0c55cd11f172942f11ad51b285f Mon Sep 17 00:00:00 2001 From: Nat Morris Date: Wed, 9 Oct 2024 21:09:24 +0100 Subject: [PATCH 2/2] feat: Trigger the common workflows when the manifest is modified --- .github/workflows/manifest-modified.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/manifest-modified.yaml diff --git a/.github/workflows/manifest-modified.yaml b/.github/workflows/manifest-modified.yaml new file mode 100644 index 0000000..28bd89e --- /dev/null +++ b/.github/workflows/manifest-modified.yaml @@ -0,0 +1,15 @@ +name: NetBox plugin manifest modified + +on: + push: + branches: [ develop ] + paths: + - netbox-plugin.yaml + +concurrency: + group: ${{ github.workflow }} + cancel-in-progress: false + +jobs: + manifest-modified: + uses: netboxlabs/public-workflows/.github/workflows/reusable-plugin-manifest-modified.yml@release