mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix(ci): run dotnet format check only on push to .net paths
This commit is contained in:
parent
98b6e726e7
commit
7f37f8b353
1 changed files with 15 additions and 1 deletions
16
.github/workflows/dotnetformat.yml
vendored
16
.github/workflows/dotnetformat.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue