fix(ci): run dotnet format check only on push to .net paths

This commit is contained in:
spiral 2022-12-03 12:45:04 +00:00
parent 98b6e726e7
commit 7f37f8b353
No known key found for this signature in database
GPG Key ID: 244A11E4B0BCF40E

View File

@ -1,5 +1,19 @@
name: Format check on pull request
on: [push, pull_request]
on:
push:
paths:
- 'Myriad/**'
- 'PluralKit.API/**'
- 'PluralKit.Bot/**'
- 'PluralKit.Core/**'
pull_request:
paths:
- 'Myriad/**'
- 'PluralKit.API/**'
- 'PluralKit.Bot/**'
- 'PluralKit.Core/**'
jobs:
dotnet-format:
runs-on: ubuntu-latest