mirror of
https://github.com/ZeusWPI/ZNS.git
synced 2024-11-24 14:11:10 +01:00
Only run workflows on certain changes
This commit is contained in:
parent
05b0dfc756
commit
2bcecd80b3
2 changed files with 10 additions and 0 deletions
6
.github/workflows/cargo.yml
vendored
6
.github/workflows/cargo.yml
vendored
|
@ -5,7 +5,13 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- .github/workflows/cargo.yml
|
||||
- '**/*.rs'
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/cargo.yml
|
||||
- '**/*.rs'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
|
|
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
@ -4,6 +4,10 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '**/*.rs'
|
||||
- Dockerfile
|
||||
- Cargo.lock
|
||||
|
||||
concurrency:
|
||||
group: docker-main
|
||||
|
|
Loading…
Reference in a new issue