From cf5fedec7b265f1a67119b0dea681cbc299a2ee8 Mon Sep 17 00:00:00 2001 From: Matthew Schmitt Date: Mon, 25 Mar 2024 10:42:17 -0700 Subject: [PATCH 1/7] Adding new workflow --- .../avm.ptn.network.hub-networking.yml | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 .github/workflows/avm.ptn.network.hub-networking.yml diff --git a/.github/workflows/avm.ptn.network.hub-networking.yml b/.github/workflows/avm.ptn.network.hub-networking.yml new file mode 100644 index 0000000000..da48795ca1 --- /dev/null +++ b/.github/workflows/avm.ptn.network.hub-networking.yml @@ -0,0 +1,87 @@ +# >>> UPDATE to for example "avm.res.key-vault.vault" +name: "avm.ptn.network.hub-networking" + +on: + schedule: + - cron: "0 12 1/15 * *" # Bi-Weekly Test (on 1st & 15th of month) + workflow_dispatch: + inputs: + staticValidation: + type: boolean + description: "Execute static validation" + required: false + default: true + deploymentValidation: + type: boolean + description: "Execute deployment validation" + required: false + default: true + removeDeployment: + type: boolean + description: "Remove deployed module" + required: false + default: true + + push: + branches: + - main + paths: + - ".github/actions/templates/avm-**" + - ".github/workflows/avm.template.module.yml" + - ".github/workflows/avm.ptn.network.hub-networking.yml" + - "avm/ptn/network/hub-networking/**" + - "avm/utilities/pipelines/**" + - "!*/**/README.md" + +env: + modulePath: "avm/ptn/network/hub-networking" + workflowPath: ".github/workflows/avm.ptn.network.hub-networking.yml" + +concurrency: + group: ${{ github.workflow }} + +jobs: + ########################### + # Initialize pipeline # + ########################### + job_initialize_pipeline: + runs-on: ubuntu-latest + name: "Initialize pipeline" + steps: + - name: "Checkout" + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: "Set input parameters to output variables" + id: get-workflow-param + uses: ./.github/actions/templates/avm-getWorkflowInput + with: + workflowPath: "${{ env.workflowPath}}" + - name: "Get module test file paths" + id: get-module-test-file-paths + uses: ./.github/actions/templates/avm-getModuleTestFiles + with: + modulePath: "${{ env.modulePath }}" + outputs: + workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} + moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} + psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} + modulePath: "${{ env.modulePath }}" + + ############################## + # Call reusable workflow # + ############################## + call-workflow-passing-data: + name: "Run" + permissions: + id-token: write # For OIDC + contents: write # For release tags + needs: + - job_initialize_pipeline + uses: ./.github/workflows/avm.template.module.yml + with: + workflowInput: "${{ needs.job_initialize_pipeline.outputs.workflowInput }}" + moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" + psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" + modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" + secrets: inherit From a84760a761412e1eb5a708238dcee4bb71941e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Barab=C3=A1s?= Date: Wed, 1 May 2024 14:00:23 -0700 Subject: [PATCH 2/7] chore: shortening module statuses (#1809) --- .../pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 | 4 ++-- .../pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avm/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 b/avm/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 index d2d7b20cb1..3b43dcd595 100644 --- a/avm/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 +++ b/avm/utilities/pipelines/platform/Set-AvmGitHubIssueOwnerConfig.ps1 @@ -60,7 +60,7 @@ function Set-AvmGitHubIssueOwnerConfig { "@ } # orphaned module - elseif ($module.ModuleStatus -eq 'Module Orphaned :eyes:') { + elseif ($module.ModuleStatus -eq 'Orphaned :eyes:') { $reply = @" **@$($issue.author.login), thanks for submitting this issue for the ``$moduleName`` module!** @@ -91,7 +91,7 @@ function Set-AvmGitHubIssueOwnerConfig { gh issue comment $issue.url --body $reply --repo $Repo } - if (($module.ModuleStatus -ne 'Module Orphaned :eyes:') -and (-not ([string]::IsNullOrEmpty($module.PrimaryModuleOwnerGHHandle)))) { + if (($module.ModuleStatus -ne 'Orphaned :eyes:') -and (-not ([string]::IsNullOrEmpty($module.PrimaryModuleOwnerGHHandle)))) { if ($PSCmdlet.ShouldProcess(("owner [{0}] to issue [$($issue.title)]" -f $module.PrimaryModuleOwnerGHHandle), 'Assign')) { # assign owner $assign = gh issue edit $issue.url --add-assignee $module.PrimaryModuleOwnerGHHandle --repo $Repo diff --git a/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 b/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 index 03f5f4f95c..4a6308339d 100644 --- a/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 +++ b/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 @@ -105,7 +105,7 @@ function Set-AvmGithubIssueForWorkflow { # get CSV data $module = Get-AvmCsvData -ModuleIndex $moduleIndex | Where-Object ModuleName -EQ $moduleName - if (($module.ModuleStatus -ne 'Module Orphaned :eyes:') -and (-not ([string]::IsNullOrEmpty($module.PrimaryModuleOwnerGHHandle)))) { + if (($module.ModuleStatus -ne 'Orphaned :eyes:') -and (-not ([string]::IsNullOrEmpty($module.PrimaryModuleOwnerGHHandle)))) { $ProjectNumber = 566 # AVM - Module Issues $comment = @" > [!IMPORTANT] From d992d08ae14107700dd84a60ec9e951795d54f24 Mon Sep 17 00:00:00 2001 From: Rainer Halanek <61878316+rahalan@users.noreply.github.com> Date: Thu, 2 May 2024 14:18:18 +0200 Subject: [PATCH 3/7] fix: repair automatic assignment of issues (#1817) This PR fixes the issue, that failed workflows were not assigned to the correct owner --- .../pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 b/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 index 4a6308339d..66dde35f18 100644 --- a/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 +++ b/avm/utilities/pipelines/platform/Set-AvmGithubIssueForWorkflow.ps1 @@ -112,16 +112,16 @@ function Set-AvmGithubIssueForWorkflow { > @Azure/$($module.ModuleOwnersGHTeam), the workflow for the ``$moduleName`` module has failed. Please investigate the failed workflow run. If you are not able to do so, please inform the AVM core team to take over. "@ # assign owner - $assign = gh issue edit $issue.url --add-assignee $module.PrimaryModuleOwnerGHHandle --repo $Repo + $assign = gh issue edit $issueUrl --add-assignee $module.PrimaryModuleOwnerGHHandle --repo $Repo if ([String]::IsNullOrEmpty($assign)) { - if ($PSCmdlet.ShouldProcess("missing user comment to issue [$($issue.title)]", 'Add')) { + if ($PSCmdlet.ShouldProcess("missing user comment to issue [$($issueName)]", 'Add')) { $comment = @" > [!WARNING] > This issue couldn't be assigend due to an internal error. @$($module.PrimaryModuleOwnerGHHandle), please make sure this issue is assigned to you and please provide an initial response as soon as possible, in accordance with the [AVM Support statement](https://aka.ms/AVM/Support). "@ - gh issue comment $issue.url --body $comment --repo $Repo + gh issue comment $issueUrl --body $comment --repo $Repo } } } From 5b95ae179dc4628f6280789938f1afc3598b6192 Mon Sep 17 00:00:00 2001 From: JFolberth Date: Thu, 2 May 2024 13:01:53 -0400 Subject: [PATCH 4/7] fix: Removed orphaned file & reference (#1822) ## Description ## Pipeline Reference | Pipeline | | -------- | | [![avm.res.insights.webtest](https://github.com/JFolberth/bicep-registry-modules/actions/workflows/avm.res.insights.webtest.yml/badge.svg)](https://github.com/JFolberth/bicep-registry-modules/actions/workflows/avm.res.insights.webtest.yml) | ## Type of Change - [ ] Update to CI Environment or utlities (Non-module effecting changes) - [ ] Azure Verified Module updates: - [ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: - [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. - [ ] The bug was found by the module author, and no one has opened an issue to report it yet. - [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. - [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. - [x] Update to documentation ## Checklist - [x] I'm sure there are no other open Pull Requests for the same update/change - [x] I have run `Set-AVMModule` locally to generate the supporting module files. - [x] My corresponding pipelines / checks run clean and green without any errors or warnings --- avm/res/insights/webtest/ORPHANED.md | 4 ---- avm/res/insights/webtest/README.md | 5 ----- avm/res/insights/webtest/main.json | 4 ++-- 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 avm/res/insights/webtest/ORPHANED.md diff --git a/avm/res/insights/webtest/ORPHANED.md b/avm/res/insights/webtest/ORPHANED.md deleted file mode 100644 index ef8fa911d2..0000000000 --- a/avm/res/insights/webtest/ORPHANED.md +++ /dev/null @@ -1,4 +0,0 @@ -⚠️THIS MODULE IS CURRENTLY ORPHANED.⚠️ - -- Only security and bug fixes are being handled by the AVM core team at present. -- If interested in becoming the module owner of this orphaned module (must be Microsoft FTE), please look for the related "orphaned module" GitHub issue [here](https://aka.ms/AVM/OrphanedModules)! \ No newline at end of file diff --git a/avm/res/insights/webtest/README.md b/avm/res/insights/webtest/README.md index 7b9a2349a0..e0acaac4bb 100644 --- a/avm/res/insights/webtest/README.md +++ b/avm/res/insights/webtest/README.md @@ -1,10 +1,5 @@ # Web Tests `[Microsoft.Insights/webtests]` -> ⚠️THIS MODULE IS CURRENTLY ORPHANED.⚠️ -> -> - Only security and bug fixes are being handled by the AVM core team at present. -> - If interested in becoming the module owner of this orphaned module (must be Microsoft FTE), please look for the related "orphaned module" GitHub issue [here](https://aka.ms/AVM/OrphanedModules)! - This module deploys a Web Test. ## Navigation diff --git a/avm/res/insights/webtest/main.json b/avm/res/insights/webtest/main.json index fbf790faf9..b5ece61cce 100644 --- a/avm/res/insights/webtest/main.json +++ b/avm/res/insights/webtest/main.json @@ -5,8 +5,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.26.54.24096", - "templateHash": "279019710662992731" + "version": "0.26.170.59819", + "templateHash": "9763185230579436305" }, "name": "Web Tests", "description": "This module deploys a Web Test.", From d44797b6f3a07bed8ad5b5f00376625067dc17ea Mon Sep 17 00:00:00 2001 From: Matthew Schmitt Date: Thu, 16 May 2024 09:13:08 -0700 Subject: [PATCH 5/7] Minor change to get version publishing working --- avm/res/network/azure-firewall/README.md | 6 +++--- avm/res/network/azure-firewall/main.bicep | 6 +++--- avm/res/network/azure-firewall/main.json | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/avm/res/network/azure-firewall/README.md b/avm/res/network/azure-firewall/README.md index e821af3f60..a35c6e1c23 100644 --- a/avm/res/network/azure-firewall/README.md +++ b/avm/res/network/azure-firewall/README.md @@ -2234,12 +2234,12 @@ Zone numbers e.g. 1,2,3. | Output | Type | Description | | :-- | :-- | :-- | -| `applicationRuleCollections` | array | List of Application Rule Collections. | +| `applicationRuleCollections` | array | List of Application Rule Collections used by Azure Firewall. | | `ipConfAzureFirewallSubnet` | object | The Public IP configuration object for the Azure Firewall Subnet. | | `location` | string | The location the resource was deployed into. | | `name` | string | The name of the Azure Firewall. | -| `natRuleCollections` | array | Collection of NAT rule collections used by Azure Firewall. | -| `networkRuleCollections` | array | List of Network Rule Collections. | +| `natRuleCollections` | array | List of NAT rule collections used by Azure Firewall. | +| `networkRuleCollections` | array | List of Network Rule Collections used by Azure Firewall. | | `privateIp` | string | The private IP of the Azure firewall. | | `resourceGroupName` | string | The resource group the Azure firewall was deployed into. | | `resourceId` | string | The resource ID of the Azure Firewall. | diff --git a/avm/res/network/azure-firewall/main.bicep b/avm/res/network/azure-firewall/main.bicep index 54d4661cf2..38c7819be3 100644 --- a/avm/res/network/azure-firewall/main.bicep +++ b/avm/res/network/azure-firewall/main.bicep @@ -372,13 +372,13 @@ output ipConfAzureFirewallSubnet object = contains(azureFirewall.properties, 'ip ? azureFirewall.properties.ipConfigurations[0] : {} -@description('List of Application Rule Collections.') +@description('List of Application Rule Collections used by Azure Firewall.') output applicationRuleCollections array = applicationRuleCollections ?? [] -@description('List of Network Rule Collections.') +@description('List of Network Rule Collections used by Azure Firewall.') output networkRuleCollections array = networkRuleCollections ?? [] -@description('Collection of NAT rule collections used by Azure Firewall.') +@description('List of NAT rule collections used by Azure Firewall.') output natRuleCollections array = natRuleCollections ?? [] @description('The location the resource was deployed into.') diff --git a/avm/res/network/azure-firewall/main.json b/avm/res/network/azure-firewall/main.json index 47361a85e2..8ff6f7c228 100644 --- a/avm/res/network/azure-firewall/main.json +++ b/avm/res/network/azure-firewall/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.27.1.19265", - "templateHash": "5299175231300175796" + "templateHash": "18119107920030966169" }, "name": "Azure Firewalls", "description": "This module deploys an Azure Firewall.", @@ -2280,21 +2280,21 @@ "applicationRuleCollections": { "type": "array", "metadata": { - "description": "List of Application Rule Collections." + "description": "List of Application Rule Collections used by Azure Firewall." }, "value": "[coalesce(parameters('applicationRuleCollections'), createArray())]" }, "networkRuleCollections": { "type": "array", "metadata": { - "description": "List of Network Rule Collections." + "description": "List of Network Rule Collections used by Azure Firewall." }, "value": "[coalesce(parameters('networkRuleCollections'), createArray())]" }, "natRuleCollections": { "type": "array", "metadata": { - "description": "Collection of NAT rule collections used by Azure Firewall." + "description": "List of NAT rule collections used by Azure Firewall." }, "value": "[coalesce(parameters('natRuleCollections'), createArray())]" }, From e6811b87fb782a61af0103a299bbe2173a9f131d Mon Sep 17 00:00:00 2001 From: Matthew Schmitt Date: Thu, 16 May 2024 09:26:21 -0700 Subject: [PATCH 6/7] Fixing issue with static tests --- avm/res/network/azure-firewall/README.md | 129 +++-------------------- 1 file changed, 16 insertions(+), 113 deletions(-) diff --git a/avm/res/network/azure-firewall/README.md b/avm/res/network/azure-firewall/README.md index a35c6e1c23..33d03091d5 100644 --- a/avm/res/network/azure-firewall/README.md +++ b/avm/res/network/azure-firewall/README.md @@ -29,113 +29,16 @@ The following section provides usage examples for the module, which were used to >**Note**: To reference the module, please use the following syntax `br/public:avm/res/network/azure-firewall:`. -- [Issue-1867](#example-1-issue-1867) -- [Add-PIP](#example-2-add-pip) -- [Custom-PIP](#example-3-custom-pip) -- [Using only defaults](#example-4-using-only-defaults) -- [Hub-commom](#example-5-hub-commom) -- [Hub-min](#example-6-hub-min) -- [Using large parameter set](#example-7-using-large-parameter-set) -- [Public-IP-Prefix](#example-8-public-ip-prefix) -- [WAF-aligned](#example-9-waf-aligned) +- [Add-PIP](#example-1-add-pip) +- [Custom-PIP](#example-2-custom-pip) +- [Using only defaults](#example-3-using-only-defaults) +- [Hub-commom](#example-4-hub-commom) +- [Hub-min](#example-5-hub-min) +- [Using large parameter set](#example-6-using-large-parameter-set) +- [Public-IP-Prefix](#example-7-public-ip-prefix) +- [WAF-aligned](#example-8-waf-aligned) -### Example 1: _Issue-1867_ - -Validating reported bug 1867 - - -
- -via Bicep module - -```bicep -module azureFirewall 'br/public:avm/res/network/azure-firewall:' = { - name: 'azureFirewallDeployment' - params: { - // Required parameters - name: 'nafcustom001' - // Non-required parameters - azureSkuTier: 'Basic' - firewallPolicyId: '' - location: '' - managementIPAddressObject: { - managementIPAllocationMethod: 'Static' - managementIPPrefixResourceId: '' - name: 'managementIP01' - skuName: 'Standard' - skuTier: 'Regional' - } - publicIPAddressObject: { - name: 'publicIP01' - publicIPAllocationMethod: 'Static' - publicIPPrefixResourceId: '' - skuName: 'Standard' - skuTier: 'Regional' - } - virtualNetworkResourceId: '' - zones: [] - } -} -``` - -
-

- -

- -via JSON Parameter file - -```json -{ - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - // Required parameters - "name": { - "value": "nafcustom001" - }, - // Non-required parameters - "azureSkuTier": { - "value": "Basic" - }, - "firewallPolicyId": { - "value": "" - }, - "location": { - "value": "" - }, - "managementIPAddressObject": { - "value": { - "managementIPAllocationMethod": "Static", - "managementIPPrefixResourceId": "", - "name": "managementIP01", - "skuName": "Standard", - "skuTier": "Regional" - } - }, - "publicIPAddressObject": { - "value": { - "name": "publicIP01", - "publicIPAllocationMethod": "Static", - "publicIPPrefixResourceId": "", - "skuName": "Standard", - "skuTier": "Regional" - } - }, - "virtualNetworkResourceId": { - "value": "" - }, - "zones": { - "value": [] - } - } -} -``` - -
-

- -### Example 2: _Add-PIP_ +### Example 1: _Add-PIP_ This instance deploys the module and attaches an existing public IP address. @@ -227,7 +130,7 @@ module azureFirewall 'br/public:avm/res/network/azure-firewall:' = {

-### Example 3: _Custom-PIP_ +### Example 2: _Custom-PIP_ This instance deploys the module and will create a public IP address. @@ -337,7 +240,7 @@ module azureFirewall 'br/public:avm/res/network/azure-firewall:' = {

-### Example 4: _Using only defaults_ +### Example 3: _Using only defaults_ This instance deploys the module with the minimum set of required parameters. @@ -389,7 +292,7 @@ module azureFirewall 'br/public:avm/res/network/azure-firewall:' = {

-### Example 5: _Hub-commom_ +### Example 4: _Hub-commom_ This instance deploys the module a vWAN in a typical hub setting. @@ -457,7 +360,7 @@ module azureFirewall 'br/public:avm/res/network/azure-firewall:' = {

-### Example 6: _Hub-min_ +### Example 5: _Hub-min_ This instance deploys the module a vWAN minimum hub setting. @@ -521,7 +424,7 @@ module azureFirewall 'br/public:avm/res/network/azure-firewall:' = {

-### Example 7: _Using large parameter set_ +### Example 6: _Using large parameter set_ This instance deploys the module with most of its features enabled. @@ -875,7 +778,7 @@ module azureFirewall 'br/public:avm/res/network/azure-firewall:' = {

-### Example 8: _Public-IP-Prefix_ +### Example 7: _Public-IP-Prefix_ This instance deploys the module and will use a public IP prefix. @@ -967,7 +870,7 @@ module azureFirewall 'br/public:avm/res/network/azure-firewall:' = {

-### Example 9: _WAF-aligned_ +### Example 8: _WAF-aligned_ This instance deploys the module in alignment with the best-practices of the Azure Well-Architected Framework. From 15a9593a48ebd249106391fdf904ec31b1cd36df Mon Sep 17 00:00:00 2001 From: Matthew Schmitt Date: Thu, 16 May 2024 12:43:51 -0700 Subject: [PATCH 7/7] Removing stray workflow --- .../avm.ptn.network.hub-networking.yml | 87 ------------------- 1 file changed, 87 deletions(-) delete mode 100644 .github/workflows/avm.ptn.network.hub-networking.yml diff --git a/.github/workflows/avm.ptn.network.hub-networking.yml b/.github/workflows/avm.ptn.network.hub-networking.yml deleted file mode 100644 index da48795ca1..0000000000 --- a/.github/workflows/avm.ptn.network.hub-networking.yml +++ /dev/null @@ -1,87 +0,0 @@ -# >>> UPDATE to for example "avm.res.key-vault.vault" -name: "avm.ptn.network.hub-networking" - -on: - schedule: - - cron: "0 12 1/15 * *" # Bi-Weekly Test (on 1st & 15th of month) - workflow_dispatch: - inputs: - staticValidation: - type: boolean - description: "Execute static validation" - required: false - default: true - deploymentValidation: - type: boolean - description: "Execute deployment validation" - required: false - default: true - removeDeployment: - type: boolean - description: "Remove deployed module" - required: false - default: true - - push: - branches: - - main - paths: - - ".github/actions/templates/avm-**" - - ".github/workflows/avm.template.module.yml" - - ".github/workflows/avm.ptn.network.hub-networking.yml" - - "avm/ptn/network/hub-networking/**" - - "avm/utilities/pipelines/**" - - "!*/**/README.md" - -env: - modulePath: "avm/ptn/network/hub-networking" - workflowPath: ".github/workflows/avm.ptn.network.hub-networking.yml" - -concurrency: - group: ${{ github.workflow }} - -jobs: - ########################### - # Initialize pipeline # - ########################### - job_initialize_pipeline: - runs-on: ubuntu-latest - name: "Initialize pipeline" - steps: - - name: "Checkout" - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: "Set input parameters to output variables" - id: get-workflow-param - uses: ./.github/actions/templates/avm-getWorkflowInput - with: - workflowPath: "${{ env.workflowPath}}" - - name: "Get module test file paths" - id: get-module-test-file-paths - uses: ./.github/actions/templates/avm-getModuleTestFiles - with: - modulePath: "${{ env.modulePath }}" - outputs: - workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} - moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} - psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} - modulePath: "${{ env.modulePath }}" - - ############################## - # Call reusable workflow # - ############################## - call-workflow-passing-data: - name: "Run" - permissions: - id-token: write # For OIDC - contents: write # For release tags - needs: - - job_initialize_pipeline - uses: ./.github/workflows/avm.template.module.yml - with: - workflowInput: "${{ needs.job_initialize_pipeline.outputs.workflowInput }}" - moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" - psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" - modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" - secrets: inherit