1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

ci: restrict trigger paths

this should hopefully reduce unnecessary job runs
This commit is contained in:
Jake Stanger 2025-04-16 23:39:30 +01:00
parent e46fdce14c
commit 4aff6bcbbc
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
3 changed files with 16 additions and 1 deletions

View file

@ -4,8 +4,17 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: [ "master" ] branches: [ "master" ]
paths:
- 'src'
- 'Cargo.*'
- 'build.rs'
pull_request: pull_request:
branches: [ "master" ] branches: [ "master" ]
paths:
- 'src'
- 'Cargo.*'
- 'build.rs'
- '.github/workflows/build.yml'
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -96,7 +105,6 @@ jobs:
- clock - clock
- custom - custom
- focused - focused
- keyboard
- keyboard+all - keyboard+all
- keyboard+sway - keyboard+sway
- keyboard+hyprland - keyboard+hyprland

View file

@ -4,6 +4,11 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: [ "master" ] branches: [ "master" ]
paths:
- 'src'
- 'Cargo.*'
- 'build.rs'
- '.github/workflows/schema.yml.yml'
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always

View file

@ -3,6 +3,8 @@ name: Sync Wiki
on: on:
push: push:
branches: [ "master" ] branches: [ "master" ]
paths:
- 'docs'
jobs: jobs:
build: build: