Skip to content

Commit 25a0440

Browse files
Merge branch 'main' into auto-cherry-pick
2 parents bf54a19 + 401a0e5 commit 25a0440

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/auto_cherry_pick.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515
description: "Specify a script to run after audit fix"
1616
required: false
1717
default: "yarn run all"
18+
pull_request:
19+
types: [opened, synchronize, labeled]
1820

1921
permissions:
2022
contents: write
@@ -24,10 +26,12 @@ permissions:
2426

2527
jobs:
2628
cherry-pick:
29+
if: github.event_name == 'workflow_dispatch' || contains(fromJson(toJson(github.event.pull_request.labels)).*.name, 'review-required')
2730
uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@v1
2831
with:
2932
original-owner: "crazy-max"
3033
repo-name: "ghaction-setup-docker"
3134
base_branch: ${{ inputs.base_branch }}
3235
package_manager: "yarn"
3336
script: ${{ inputs.script || 'yarn run all' }}
37+
mode: ${{ github.event_name == 'pull_request' && 'verify' || inputs.mode }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Claude Code Review
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, labeled]
6+
7+
jobs:
8+
code-review:
9+
uses: step-security/reusable-workflows/.github/workflows/claude_review.yml@v1
10+
secrets:
11+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
12+
13+
permissions:
14+
contents: read
15+
pull-requests: write
16+
packages: read
17+
issues: write
18+
id-token: write

0 commit comments

Comments
 (0)