github/workflow: skip builds for docs only PRs
Per \
workflow-syntax-for-github-actions build events
will run for PRs that include at least one file outside
of the ignored paths.
@@ -3,9 +3,15 @@ on:
push:
branches:
- main
+ paths-ignore:
+ - 'docs/**'
+ - '**.md'
pull_request:
branches:
- main
+ paths-ignore:
+ - 'docs/**'
+ - '**.md'
env:
KUBE_CONFIG: ${{ secrets.KUBECONFIG }}
AZURE_SUBSCRIPTION: ${{ secrets.AZURE_SUBSCRIPTION }}
