Auto Cherry-Pick from Upstream #1
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" | |
| script: | |
| description: "Specify the build script to run" | |
| required: false | |
| type: string | |
| default: "npm run all" | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| packages: read | |
| issues: write | |
| jobs: | |
| cherry-pick: | |
| uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@v1 | |
| with: | |
| original-owner: "lasith-kg" | |
| repo-name: "dispatch-workflow" | |
| base_branch: ${{ inputs.base_branch }} | |
| script: ${{ inputs.script || 'npm run all' }} |