Auto Cherry-Pick from Upstream #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Cherry-Pick from Upstream | |
on: | |
workflow_dispatch: | |
inputs: | |
base_branch: | |
description: "Base branch to create the PR against" | |
required: true | |
default: "main" | |
package_manager: | |
description: "Specify package manager (npm or yarn)" | |
required: false | |
default: "yarn" | |
script: | |
description: "Specify a script to run after audit fix" | |
required: false | |
default: "yarn run all" | |
permissions: | |
contents: write | |
pull-requests: write | |
packages: read | |
issues: write | |
jobs: | |
audit-fix: | |
uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@upstream-Changes-CherryPick | |
with: | |
original-owner: "tj-actions" | |
repo-name: "changed-files" | |
base_branch: ${{ inputs.base_branch }} | |
package_manager: "yarn" | |
script: ${{ inputs.script || 'yarn run all' }} |