Skip to content

cherry pick and guard dog workflow added #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/auto_cherry_pick.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

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' }}
14 changes: 14 additions & 0 deletions .github/workflows/guarddog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Run GuardDog Scan on PRs

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
call-guarddog-scan:
uses: step-security/reusable-workflows/.github/workflows/guarddog.yml@v1
Loading