Skip to content

Commit

Permalink
GHA limit main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jvhoof committed Aug 21, 2023
1 parent 48a31dc commit d8dc98a
Show file tree
Hide file tree
Showing 17 changed files with 45 additions and 54 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/faz-azure-marketplace-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ on:
schedule:
- cron: '00 22 * * 0'

push:
branches: [ dev ]
paths:
- 'FortiAnalyzer/**'

env:
PRODUCT: FortiAnalyzer
PRODUCTSHORT: FAZ
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fgt-arm-active-active-elb-ilb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
branches:
- main
paths:
- 'FortiGate/Active-Active-ELB-ILB/*.json'
- 'FortiGate/Active-Active-ELB-ILB/**.tests.ps1'
- 'FortiGate/Active-Active-ELB-ILB/*.json'
- 'FortiGate/Active-Active-ELB-ILB/**.tests.ps1'

jobs:
ARM_Active-Active-ELB-ILB:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fgt-arm-active-passive-elb-ilb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
branches:
- main
paths:
- 'FortiGate/Active-Passive-ELB-ILB/*.json'
- 'FortiGate/Active-Passive-ELB-ILB/**.tests.ps1'
- 'FortiGate/Active-Passive-ELB-ILB/*.json'
- 'FortiGate/Active-Passive-ELB-ILB/**.tests.ps1'

jobs:
ARM_Active-Passive-ELB-ILB:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fgt-arm-active-passive-sdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
branches:
- main
paths:
- 'FortiGate/Active-Passive-SDN/*.json'
- 'FortiGate/Active-Passive-SDN/**.tests.ps1'
- 'FortiGate/Active-Passive-SDN/*.json'
- 'FortiGate/Active-Passive-SDN/**.tests.ps1'

jobs:
ARM_Active-Passive-SDN:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fgt-arm-azure-gateway-loadbalancer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
branches:
- main
paths:
- 'FortiGate/AzureGatewayLoadBalancer/*.json'
- 'FortiGate/AzureGatewayLoadBalancer/**.tests.ps1'
- 'FortiGate/AzureGatewayLoadBalancer/*.json'
- 'FortiGate/AzureGatewayLoadBalancer/**.tests.ps1'

jobs:
ARM_AzureGatewayLoadBalancer:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/fgt-azure-marketplace-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ on:
schedule:
- cron: '00 22 * * 0'

push:
branches: [ dev ]
paths:
- 'FortiGate/**'

jobs:
ARM-FGT-Version-Update:
name: Update FGT version list
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/fgt-tf-a-single-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ env:

on:
push:
branches:
- main
paths:
- 'FortiGate/Terraform/A-Single-VM/*.tf'
- 'FortiGate/Terraform/A-Single-VM/*.tpl'
- 'FortiGate/Terraform/A-Single-VM/*.hcl'
- 'FortiGate/Terraform/A-Single-VM/*.tf'
- 'FortiGate/Terraform/A-Single-VM/*.tpl'
- 'FortiGate/Terraform/A-Single-VM/*.hcl'

jobs:
terraform_AA:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/fgt-tf-active-active-elb-ilb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ env:

on:
push:
branches:
- main
paths:
- 'FortiGate/Terraform/Active-Active-ELB-ILB/*.tf'
- 'FortiGate/Terraform/Active-Active-ELB-ILB/*.tpl'
- 'FortiGate/Terraform/Active-Active-ELB-ILB/*.hcl'
- 'FortiGate/Terraform/Active-Active-ELB-ILB/*.tf'
- 'FortiGate/Terraform/Active-Active-ELB-ILB/*.tpl'
- 'FortiGate/Terraform/Active-Active-ELB-ILB/*.hcl'

jobs:
terraform_AA:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/fgt-tf-active-passive-elb-ilb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ env:

on:
push:
branches:
- main
paths:
- 'FortiGate/Terraform/Active-Passive-ELB-ILB/*.tf'
- 'FortiGate/Terraform/Active-Passive-ELB-ILB/*.tpl'
- 'FortiGate/Terraform/Active-Passive-ELB-ILB/*.hcl'
- 'FortiGate/Terraform/Active-Passive-ELB-ILB/*.tf'
- 'FortiGate/Terraform/Active-Passive-ELB-ILB/*.tpl'
- 'FortiGate/Terraform/Active-Passive-ELB-ILB/*.hcl'

jobs:
terraform_AP:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/fmg-azure-marketplace-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ on:
schedule:
- cron: '00 22 * * 0'

push:
branches: [ dev ]
paths:
- 'FortiManager/**'

env:
PRODUCT: FortiManager
PRODUCTSHORT: FMG
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/fpx-azure-marketplace-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ on:
schedule:
- cron: '00 22 * * 0'

push:
branches: [ dev ]
paths:
- 'FortiProxy/**'

env:
PRODUCT: FortiProxy
PRODUCTSHORT: FPX
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/fts-arm-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ env:

on:
push:
branches:
- main
paths:
- 'FortiTester/Standalone/*.json'
- 'FortiTester/Standalone/**.tests.ps1'
- 'FortiTester/Standalone/*.json'
- 'FortiTester/Standalone/**.tests.ps1'

jobs:
ARM_Standalone:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/fts-arm-testcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ env:

on:
push:
branches:
- main
paths:
- 'FortiTester/TestCenter/*.json'
- 'FortiTester/TestCenter/**.tests.ps1'
- 'FortiTester/TestCenter/*.json'
- 'FortiTester/TestCenter/**.tests.ps1'

jobs:
ARM_TestCenter:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/fwb-arm-a-single-vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ env:

on:
push:
branches:
- main
paths:
- 'FortiWeb/A-Single-VM/**.json'
- 'FortiWeb/A-Single-VM/**.tests.ps1'
- 'FortiWeb/A-Single-VM/**.json'
- 'FortiWeb/A-Single-VM/**.tests.ps1'

jobs:
ARM_A-Single-VM:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/fwb-azure-marketplace-version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ on:
schedule:
- cron: '00 22 * * 0'

push:
branches: [ dev ]
paths:
- 'FortiWeb/**'

jobs:
ARM-FWB-Version-Update:
name: Update FWB version list
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-validiac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ env:
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'FortiGate/Terraform/A-Single-VM/*.tf'
- 'FortiGate/Terraform/A-Single-VM/*.tpl'
- 'FortiGate/Terraform/A-Single-VM/*.hcl'
- 'FortiGate/Terraform/A-Single-VM/*.tf'
- 'FortiGate/Terraform/A-Single-VM/*.tpl'
- 'FortiGate/Terraform/A-Single-VM/*.hcl'

jobs:
ValidIaC:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tf-vnet-peering.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ env:

on:
push:
branches:
- main
paths:
- 'FortiGate/Terraform/VNET-Peering/**.tf'
- 'FortiGate/Terraform/VNET-Peering/**.tpl'
- 'FortiGate/Terraform/VNET-Peering/**.hcl'
- 'FortiGate/Terraform/VNET-Peering/**.tf'
- 'FortiGate/Terraform/VNET-Peering/**.tpl'
- 'FortiGate/Terraform/VNET-Peering/**.hcl'

jobs:
terraform_VNETP:
Expand Down

0 comments on commit d8dc98a

Please sign in to comment.