fix(ci): ignore non-code paths (#31)

This commit is contained in:
Matt Kilgore
2024-06-19 21:29:02 -04:00
committed by GitHub
parent 22c76c52a2
commit add57a8962
3 changed files with 26 additions and 0 deletions

View File

@@ -5,10 +5,20 @@ on:
- cron: '00 6 * * *' - cron: '00 6 * * *'
push: push:
branches: [ "main" ] branches: [ "main" ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
# Publish semver tags as releases. # Publish semver tags as releases.
tags: [ 'v*.*.*' ] tags: [ 'v*.*.*' ]
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
env: env:
# Use docker.io for Docker Hub if empty # Use docker.io for Docker Hub if empty

View File

@@ -5,10 +5,20 @@ on:
- cron: '00 6 * * *' - cron: '00 6 * * *'
push: push:
branches: [ "main" ] branches: [ "main" ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
# Publish semver tags as releases. # Publish semver tags as releases.
tags: [ 'v*.*.*' ] tags: [ 'v*.*.*' ]
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
env: env:
# Use docker.io for Docker Hub if empty # Use docker.io for Docker Hub if empty

View File

@@ -5,6 +5,12 @@ on:
branches: branches:
- main - main
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CONTRIBUTING.md'
- 'CODE_OF_CONDUCT.md'
jobs: jobs:
backend-tests: backend-tests:
name: "Backend Server Tests" name: "Backend Server Tests"