Run actions only if code related files changes (#3000)

This commit is contained in:
Eduardo Cabral 2022-04-07 14:49:44 -03:00 committed by GitHub
parent 060069cf73
commit cca4038008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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