Skip to content

Commit

Permalink
ci: run ci when workflow files change
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Dec 20, 2024
1 parent b996733 commit 1de431f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
paths:
- '**.nix'
- 'flake.lock'

- '.github/workflows/ci.yml'
pull_request:
paths:
- '**.nix'
- 'flake.lock'

- '.github/workflows/ci.yml'
workflow_dispatch:

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ main ]
paths:
- "**.nix"

- ".github/workflows/format.yml"
workflow_dispatch:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ on:
- 'CHANGELOG.md'
- '**.lock'
- '**.nix'

- '.github/workflows/website.yml'
pull_request:
paths:
- 'docs/**'
- 'CHANGELOG.md'
- '**.lock'
- '**.nix'

- '.github/workflows/website.yml'
workflow_dispatch:

jobs:
Expand Down

0 comments on commit 1de431f

Please sign in to comment.