Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

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

Matt Kilgoreadd57a8962ed
diff --git a/.github/workflows/docker-publish-rootless.yaml b/.github/workflows/docker-publish-rootless.yaml
index e8fbc315..af984c0d 100644
--- a/.github/workflows/docker-publish-rootless.yaml
+++ b/.github/workflows/docker-publish-rootless.yaml
@@ -5,10 +5,20 @@ on:
- cron: '00 6 * * *'
push:
branches: [ "main" ]
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'CONTRIBUTING.md'
+ - 'CODE_OF_CONDUCT.md'
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'CONTRIBUTING.md'
+ - 'CODE_OF_CONDUCT.md'
env:
# Use docker.io for Docker Hub if empty
diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml
index 41ac851b..e7e4cefb 100644
--- a/.github/workflows/docker-publish.yaml
+++ b/.github/workflows/docker-publish.yaml
@@ -5,10 +5,20 @@ on:
- cron: '00 6 * * *'
push:
branches: [ "main" ]
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'CONTRIBUTING.md'
+ - 'CODE_OF_CONDUCT.md'
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'CONTRIBUTING.md'
+ - 'CODE_OF_CONDUCT.md'
env:
# Use docker.io for Docker Hub if empty
diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml
index f39539be..0799ecde 100644
--- a/.github/workflows/pull-requests.yaml
+++ b/.github/workflows/pull-requests.yaml
@@ -5,6 +5,12 @@ on:
branches:
- main
+ paths-ignore:
+ - 'docs/**'
+ - 'README.md'
+ - 'CONTRIBUTING.md'
+ - 'CODE_OF_CONDUCT.md'
+
jobs:
backend-tests:
name: "Backend Server Tests"