Skip to content

Commit 45ee7c2

Browse files
cuioss-oliverclaude
andcommitted
fix: add chore/* to push triggers and permissions to dependency-review
- Add chore/* to maven.yml push triggers so builds run on chore branches - Add required permissions to dependency-review.yml for reusable workflow Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 24fcab8 commit 45ee7c2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# Example: Copy this to your repo as .github/workflows/dependency-review.yml
22
name: Dependency Review
33

4-
on: [pull_request]
4+
on:
5+
pull_request:
6+
branches: [main]
7+
8+
permissions:
9+
contents: read
510

611
jobs:
712
dependency-review:
813
uses: cuioss/cuioss-organization/.github/workflows/reusable-dependency-review.yml@9ce5ba83776bab80eeffb695f7374e334cf6bd9f # v0.2.0
14+
permissions:
15+
contents: read
16+
pull-requests: write
917
secrets: inherit

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Maven Build
44

55
on:
66
push:
7-
branches: [main, "feature/*", "fix/*", "dependabot/**"]
7+
branches: [main, "feature/*", "fix/*", "chore/*", "dependabot/**"]
88
pull_request:
99
branches: [main]
1010
workflow_dispatch:

0 commit comments

Comments
 (0)