ci: restrict workflow paths

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/888/head
Varun Patil 2023-10-20 11:27:00 -07:00
parent 1287a8e601
commit ca756732d8
3 changed files with 18 additions and 2 deletions

View File

@ -3,6 +3,10 @@ on:
push:
branches:
- master
paths:
- 'docs/**'
- 'CHANGELOG.md'
- 'mkdocs.yml'
permissions:
contents: write

View File

@ -5,6 +5,10 @@ on:
branches:
- master
- pulsejet/*
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
- '**.md'
env:
APP_NAME: memories

View File

@ -1,8 +1,16 @@
---
name: static analysis
on:
- push
- pull_request
push:
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
- '**.md'
pull_request:
paths-ignore:
- 'docs/**'
- 'mkdocs.yml'
- '**.md'
jobs:
php-lint: