mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Adding .github/workflows/create-security-patch-from-security-mirror.yml (#75850)
* Adding .github/workflows/create-security-patch-from-security-mirror.yml * Added .github/workflows/create-security-patch-from-security-mirror.yml to CODEOWNERS
This commit is contained in:
parent
d673862853
commit
6842cc63ec
.github
1
.github/CODEOWNERS
vendored
1
.github/CODEOWNERS
vendored
@ -646,6 +646,7 @@ embed.go @grafana/grafana-as-code
|
|||||||
/.github/workflows/dashboards-issue-add-label.yml @grafana/dashboards-squad
|
/.github/workflows/dashboards-issue-add-label.yml @grafana/dashboards-squad
|
||||||
/.github/workflows/ephemeral-instances-pr-comment.yml @grafana/grafana-operator-experience-squad
|
/.github/workflows/ephemeral-instances-pr-comment.yml @grafana/grafana-operator-experience-squad
|
||||||
/.github/workflows/ephemeral-instances-pr-opened-closed.yml @grafana/grafana-operator-experience-squad
|
/.github/workflows/ephemeral-instances-pr-opened-closed.yml @grafana/grafana-operator-experience-squad
|
||||||
|
/.github/workflows/create-security-patch-from-security-mirror.yml @grafana/grafana-delivery
|
||||||
|
|
||||||
|
|
||||||
# Generated files not requiring owner approval
|
# Generated files not requiring owner approval
|
||||||
|
28
.github/workflows/create-security-patch-from-security-mirror.yml
vendored
Normal file
28
.github/workflows/create-security-patch-from-security-mirror.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# Owned by grafana-delivery-squad
|
||||||
|
# Intended to be dropped into the base repo (Ex: grafana/grafana) for use in the security mirror.
|
||||||
|
name: Create security patch
|
||||||
|
run-name: create-security-patch
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- reopened
|
||||||
|
- synchronize
|
||||||
|
branches:
|
||||||
|
- "main"
|
||||||
|
- "v*.*.*"
|
||||||
|
|
||||||
|
# This is run before the pull request has been merged, so we'll run against the src branch
|
||||||
|
jobs:
|
||||||
|
trigger_downstream_create_security_patch:
|
||||||
|
concurrency: create-patch-${{ github.ref_name }}
|
||||||
|
uses: grafana/security-patch-actions/.github/workflows/create-patch.yml@main
|
||||||
|
if: github.repository == 'grafana/grafana-security-mirror'
|
||||||
|
with:
|
||||||
|
repo: "${{ github.repository }}"
|
||||||
|
src_ref: "${{ github.head_ref }}" # this is the source branch name, Ex: "feature/newthing"
|
||||||
|
patch_ref: "${{ github.base_ref }}" # this is the target branch name, Ex: "main"
|
||||||
|
patch_repo: "grafana/grafana-security-patches"
|
||||||
|
patch_prefix: "${{ github.event.pull_request.number }}"
|
||||||
|
secrets: inherit
|
||||||
|
|
Loading…
Reference in New Issue
Block a user