fix(ci): run dotnet format check only on push to .net paths
This commit is contained in:
parent
98b6e726e7
commit
7f37f8b353
16
.github/workflows/dotnetformat.yml
vendored
16
.github/workflows/dotnetformat.yml
vendored
@ -1,5 +1,19 @@
|
|||||||
name: Format check on pull request
|
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:
|
jobs:
|
||||||
dotnet-format:
|
dotnet-format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user