Skip to content

Commit 0ff4785

Browse files
Merge pull request #59 from step-security/fix_Auto-Cherry-Pick-Workflow
auto cherry pick workflow added
2 parents 0b5e704 + a1a96ef commit 0ff4785

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Auto Cherry-Pick from Upstream
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
base_branch:
7+
description: "Base branch to create the PR against"
8+
required: true
9+
default: "main"
10+
script:
11+
description: "Specify the npm/yarn script to run if available"
12+
required: false
13+
default: "npm run test"
14+
15+
16+
permissions:
17+
contents: write
18+
pull-requests: write
19+
packages: read
20+
issues: write
21+
22+
jobs:
23+
audit-fix:
24+
uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@fix_UpStream-Changes-Cherry-Pick
25+
with:
26+
original-owner: "supercharge"
27+
repo-name: "mongodb-github-action"
28+
base_branch: ${{ inputs.base_branch }}
29+
script: ${{ inputs.script }}

0 commit comments

Comments
 (0)