Skip to content

Commit 7453391

Browse files
comments addressed
1 parent 1010edd commit 7453391

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/auto_cherry_pick.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ on:
77
description: "Base branch to create the PR against"
88
required: true
99
default: "main"
10+
mode:
11+
description: "Run mode: cherry-pick or verify"
12+
required: false
13+
default: "cherry-pick"
14+
15+
pull_request:
16+
types: [opened, synchronize, labeled]
1017

1118
permissions:
1219
contents: write
@@ -16,8 +23,10 @@ permissions:
1623

1724
jobs:
1825
cherry-pick:
26+
if: github.event_name == 'workflow_dispatch' || contains(fromJson(toJson(github.event.pull_request.labels)).*.name, 'review-required')
1927
uses: step-security/reusable-workflows/.github/workflows/auto_cherry_pick.yaml@v1
2028
with:
2129
original-owner: "PaloAltoNetworks"
2230
repo-name: "prisma-cloud-scan"
2331
base_branch: ${{ inputs.base_branch }}
32+
mode: ${{ github.event_name == 'pull_request' && 'verify' || inputs.mode }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
identification within third-party archives.
188188

189189
Copyright 2021 Palo Alto Networks
190-
Copyright (c) 2025 StepSecurity
190+
Copyright 2025 StepSecurity
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)