Refactor workflow file paths and update branch restrictions
This commit is contained in:
@@ -10,6 +10,11 @@ on:
|
|||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .github/workflows/ansible-validate-on-pr.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ansible-validate:
|
ansible-validate:
|
||||||
|
|||||||
@@ -10,6 +10,12 @@ on:
|
|||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .github/workflows/terraform-iac-validate-on-pr.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
terraform-validate:
|
terraform-validate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -10,6 +10,12 @@ on:
|
|||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- .github/workflows/terraform-microk8s-validate.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
terraform-validate:
|
terraform-validate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user