Run actions only if code related files changes (#3000)
This commit is contained in:
parent
060069cf73
commit
cca4038008
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -1,5 +1,17 @@
|
||||
name: Build
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '**.yml'
|
||||
- '**.xml'
|
||||
- '**.Dockerfile'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '**.yml'
|
||||
- '**.xml'
|
||||
- '**.Dockerfile'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
14
.github/workflows/prettify.yml
vendored
14
.github/workflows/prettify.yml
vendored
@ -1,5 +1,17 @@
|
||||
name: Prettify
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '**.yml'
|
||||
- '**.xml'
|
||||
- '**.Dockerfile'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '**.yml'
|
||||
- '**.xml'
|
||||
- '**.Dockerfile'
|
||||
jobs:
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
|
14
.github/workflows/update_directory.yml
vendored
14
.github/workflows/update_directory.yml
vendored
@ -1,6 +1,18 @@
|
||||
# This GitHub Action updates the DIRECTORY.md file (if needed) when doing a git push
|
||||
name: Update Directory
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '**.yml'
|
||||
- '**.xml'
|
||||
- '**.Dockerfile'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/**'
|
||||
- '**.yml'
|
||||
- '**.xml'
|
||||
- '**.Dockerfile'
|
||||
jobs:
|
||||
update_directory_md:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user