Skip to content

Commit

Permalink
workflows: don't run when not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
taj-ny committed Dec 5, 2024
1 parent 8ec812b commit 14291a5
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/arch-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: Arch Linux
on:
push:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
pull_request:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
schedule:
- cron: "0 0 * * *"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fedora-40.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: Fedora 40
on:
push:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
pull_request:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
schedule:
- cron: "0 0 * * *"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fedora-41.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: Fedora 41
on:
push:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
pull_request:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
schedule:
- cron: "0 0 * * *"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nixos-plasma-6-0-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: NixOS (Plasma 6.0.5)
on:
push:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
pull_request:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
schedule:
- cron: "0 0 * * *"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nixos-plasma-6-1-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: NixOS (Plasma 6.1.5)
on:
push:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
pull_request:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
schedule:
- cron: "0 0 * * *"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nixos-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ name: NixOS (nixpkgs unstable)
on:
push:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
pull_request:
branches: [ main ]
paths: [ "**" ".github/workflows/arch-linux.yml" ]
paths-ignore: [ "**.md" ]
schedule:
- cron: "0 0 * * *"
Expand Down

0 comments on commit 14291a5

Please sign in to comment.