Skip to content

Commit dd0698b

Browse files
Create auto_cherry_pick.yml
1 parent 7e082ee commit dd0698b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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: 'Script to run after audit fix'
12+
required: false
13+
default: 'npm run publish'
14+
15+
permissions:
16+
contents: write
17+
pull-requests: write
18+
packages: read
19+
issues: write
20+
21+
jobs:
22+
cherry-pick:
23+
uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@v1
24+
with:
25+
original-owner: "mdgreenwald"
26+
repo-name: "mozilla-sops-action"
27+
base_branch: ${{ inputs.base_branch }}
28+
script: ${{ inputs.script || 'npm run publish' }}

0 commit comments

Comments
 (0)