Skip to content

Commit

Permalink
fix(ci): ignore non-code paths (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
tankerkiller125 authored Jun 20, 2024
1 parent 22c76c5 commit add57a8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docker-publish-rootless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pull-requests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit add57a8

Please sign in to comment.