diff --git a/.github/workflows/auto_cherry_pick.yml b/.github/workflows/auto_cherry_pick.yml new file mode 100644 index 0000000..d174c09 --- /dev/null +++ b/.github/workflows/auto_cherry_pick.yml @@ -0,0 +1,34 @@ +name: Auto Cherry-Pick from Upstream + +on: + workflow_dispatch: + inputs: + base_branch: + description: "Base branch to create the PR against" + required: true + default: "main" + script: + description: "Specify the npm/yarn script to run if available" + required: false + default: "yarn build" + package_manager: + description: "Specify package manager if available (npm or yarn)" + required: false + default: "yarn" + + +permissions: + contents: write + pull-requests: write + packages: read + issues: write + +jobs: + audit-fix: + uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@fix_UpStream-Changes-Cherry-Pick + with: + original-owner: "supercharge" + repo-name: "mongodb-github-action" + base_branch: ${{ inputs.base_branch }} + script: ${{ inputs.script }} + package_manager: ${{ inputs.package_manager }}