Skip to content

Commit

Permalink
fix(.github/workflows): add tags-ignore to avoid running CI on pushin…
Browse files Browse the repository at this point in the history
…g tags for contribs and other nested modules (#3005)

Co-authored-by: Hannah Kim <[email protected]>
  • Loading branch information
darccio and hannahkm authored Dec 16, 2024
1 parent 6004a6c commit a8665eb
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/appsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
merge_group:
push:
branches: release-v*
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'

env:
DD_APPSEC_WAF_TIMEOUT: 1m
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
type: string
push:
branches: [ main, master ]
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:
push:
branches:
- main
- release-v*
- release-v*
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'
schedule:
- cron: '00 00 * * *'
workflow_dispatch:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/main-branch-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ on:
branches:
- main
- release-v*
tags:
- "**"
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'

concurrency:
group: ${{ github.ref }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/orchestrion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
push:
branches:
- release-v*
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'

permissions: read-all

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/parametric-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ on:
branches:
- main
- release-v*
tags:
- "**"
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'
pull_request:
branches:
- "**"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches:
- 'mq-working-branch-**'
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'

concurrency:
group: ${{ github.ref }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ on:
branches:
- main
- release-v*
tags:
- '**'
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'
schedule: # nightly
- cron: "0 0 * * *"
workflow_dispatch: {} # manually
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ on:
branches:
- main
- release-v*
tags:
- "**"
tags-ignore:
- 'contrib/**'
- 'instrumentation/**'
pull_request:
branches:
- "**"
Expand Down

0 comments on commit a8665eb

Please sign in to comment.