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
|
name: Build
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.xml'
|
||||||
|
- '**.Dockerfile'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.xml'
|
||||||
|
- '**.Dockerfile'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
14
.github/workflows/prettify.yml
vendored
14
.github/workflows/prettify.yml
vendored
@ -1,5 +1,17 @@
|
|||||||
name: Prettify
|
name: Prettify
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.xml'
|
||||||
|
- '**.Dockerfile'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.xml'
|
||||||
|
- '**.Dockerfile'
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
runs-on: ubuntu-latest
|
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
|
# This GitHub Action updates the DIRECTORY.md file (if needed) when doing a git push
|
||||||
name: Update Directory
|
name: Update Directory
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.xml'
|
||||||
|
- '**.Dockerfile'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'src/**'
|
||||||
|
- '**.yml'
|
||||||
|
- '**.xml'
|
||||||
|
- '**.Dockerfile'
|
||||||
jobs:
|
jobs:
|
||||||
update_directory_md:
|
update_directory_md:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user