Skip to content

Commit a00d74b

Browse files
Merge pull request #113 from step-security/fix_Auto-Cherry-Pick-Workflow
auto cherry pick workflow added
2 parents c56bdca + 56f7f33 commit a00d74b

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)