Skip to content

Commit

Permalink
fix: Add ignore paths to Rust workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pabrahamsson committed Oct 6, 2022
1 parent a5b1b40 commit 08811f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,20 @@ on:
- main
paths-ignore:
- '.github/**'
- '*.md'
- 'Cargo.*'
- 'Makefile'
# Publish semver tags as releases.
tags:
- 'v*.*.*'
pull_request:
branches:
- main
paths-ignore:
- '.github/**'
- '*.md'
- 'Cargo.*'
- 'Makefile'

env:
# Use docker.io for Docker Hub if empty
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ on:
- main
paths-ignore:
- '.github/**'
- '*.md'
- 'Cargo.*'
- 'Makefile'
pull_request:
# The branches below must be a subset of the branches above
branches:
- main
paths-ignore:
- '.github/**'
- '*.md'
- 'Cargo.*'
- 'Makefile'

jobs:
rust-clippy-analyze:
Expand Down

0 comments on commit 08811f8

Please sign in to comment.