Skip to content

Commit 51ccd31

Browse files
Merge pull request #100 from step-security/fix_Auto-Cherry-Pick-Workflow
fix: auto cherry pick workflow added
2 parents 4005ca2 + c9fa004 commit 51ccd31

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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: "yarn build"
14+
package_manager:
15+
description: "Specify package manager if available (npm or yarn)"
16+
required: false
17+
default: "yarn"
18+
19+
20+
permissions:
21+
contents: write
22+
pull-requests: write
23+
packages: read
24+
issues: write
25+
26+
jobs:
27+
audit-fix:
28+
uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@fix_UpStream-Changes-Cherry-Pick
29+
with:
30+
original-owner: "supercharge"
31+
repo-name: "mongodb-github-action"
32+
base_branch: ${{ inputs.base_branch }}
33+
script: ${{ inputs.script }}
34+
package_manager: ${{ inputs.package_manager }}

0 commit comments

Comments
 (0)