Refactor workflow file paths and update branch restrictions

This commit is contained in:
2024-10-01 22:46:46 +02:00
parent 40bbb4904c
commit 2cf588f999
3 changed files with 17 additions and 0 deletions
@@ -10,6 +10,11 @@ on:
- opened
- synchronize
- reopened
push:
branches:
- main
paths:
- .github/workflows/ansible-validate-on-pr.yml
jobs:
ansible-validate:
@@ -10,6 +10,12 @@ on:
- opened
- synchronize
- reopened
push:
branches:
- main
paths:
- .github/workflows/terraform-iac-validate-on-pr.yml
jobs:
terraform-validate:
runs-on: ubuntu-latest
@@ -10,6 +10,12 @@ on:
- opened
- synchronize
- reopened
push:
branches:
- main
paths:
- .github/workflows/terraform-microk8s-validate.yml
jobs:
terraform-validate:
runs-on: ubuntu-latest