Restrict workflow runs to specific paths

This commit is contained in:
Mbucari
2025-12-22 12:50:06 -07:00
committed by Michael Bucari-Tovo
parent ad3a767057
commit 1299d91d08
2 changed files with 10 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ on:
# using the `master` branch as the default branch.
push:
branches: [master]
paths:
- .github/workflows/deploy.yml
- docs/**
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

View File

@@ -6,8 +6,14 @@ name: validate
on:
push:
branches: [master]
paths:
- Source/**
- .github/workflows/**
pull_request:
branches: [master]
paths:
- Source/**
- .github/workflows/**
jobs:
get_version: