Skip to content

Commit

Permalink
enh(ci): trigger workflows on new major version
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret committed Jan 20, 2025
1 parent b309813 commit 94232cf
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/centreon-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ on:
- cron: '30 0 * * 1-5'
pull_request:
paths:
- ".version"
- agent/**
- bbdo/**
- broker/**
Expand Down Expand Up @@ -66,6 +67,7 @@ on:
- master
- "[2-9][0-9].[0-9][0-9].x"
paths:
- ".version"
- agent/**
- bbdo/**
- broker/**
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/centreon-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
workflow_dispatch:
pull_request:
paths:
- ".version"
- "packaging/centreon-common/**"
- "selinux/centreon-common/**"
push:
Expand All @@ -17,6 +18,7 @@ on:
- master
- "[2-9][0-9].[0-9][0-9].x"
paths:
- ".version"
- "packaging/centreon-common/**"
- "selinux/centreon-common/**"

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-gorgone-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ on:
- develop
- dev-[2-9][0-9].[0-9][0-9].x
paths:
- ".version"
- ".github/docker/Dockerfile.gorgone-testing-*"
- ".github/workflows/docker-gorgone-testing.yml"
pull_request:
paths:
- ".version"
- ".github/docker/Dockerfile.gorgone-testing-*"
- ".github/workflows/docker-gorgone-testing.yml"

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gorgone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- reopened
- ready_for_review
paths:
- ".version"
- ".version.centreon-gorgone"
- ".github/workflows/gorgone.yml"
- "gorgone/**"
Expand All @@ -33,6 +34,7 @@ on:
- master
- "[2-9][0-9].[0-9][0-9].x"
paths:
- ".version"
- ".version.centreon-gorgone"
- ".github/workflows/gorgone.yml"
- "gorgone/**"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/libzmq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
workflow_dispatch:
pull_request:
paths:
- ".version"
- '.github/workflows/libzmq.yml'
push:
branches:
Expand All @@ -16,6 +17,7 @@ on:
- master
- "[2-9][0-9].[0-9][0-9].x"
paths:
- ".version"
- '.github/workflows/libzmq.yml'

jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lua-curl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
workflow_dispatch:
pull_request:
paths:
- ".version"
- lua-curl/**
push:
branches:
Expand All @@ -16,6 +17,7 @@ on:
- master
- "[2-9][0-9].[0-9][0-9].x"
paths:
- ".version"
- lua-curl/**

env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:

pull_request:
paths:
- ".version"
- agent/**
- common/**
- custom-triplets/**
Expand All @@ -28,6 +29,7 @@ on:
- master
- "[2-9][0-9].[0-9][0-9].x"
paths:
- ".version"
- agent/**
- common/**
- custom-triplets/**
Expand Down

0 comments on commit 94232cf

Please sign in to comment.