Sync-mirror GHA updates (#73504)

fixing sync-mirror run-name and altering concurrency to use branch name
This commit is contained in:
Ricky Whitaker 2023-08-18 12:01:43 -05:00 committed by GitHub
parent 42f4306251
commit 4047cdb213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# Owned by grafana-delivery-squad # Owned by grafana-delivery-squad
# Intended to be dropped into the base repo, Ex: grafana/grafana # Intended to be dropped into the base repo, Ex: grafana/grafana
name: Sync to mirror name: Sync to mirror
run-name: sync-to-mirror-${{ github.base_ref }}-${{ github.head_ref }} run-name: sync-to-mirror-${{ github.ref_name }}
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
@ -13,7 +13,7 @@ on:
# This is run after the pull request has been merged, so we'll run against the target branch # This is run after the pull request has been merged, so we'll run against the target branch
jobs: jobs:
trigger_downstream_patch_mirror: trigger_downstream_patch_mirror:
concurrency: patch-mirror-${{ github.ref }} concurrency: patch-mirror-${{ github.ref_name }}
uses: grafana/security-patch-actions/.github/workflows/mirror-branch-and-apply-patches.yml@main uses: grafana/security-patch-actions/.github/workflows/mirror-branch-and-apply-patches.yml@main
if: github.repository == 'grafana/grafana' if: github.repository == 'grafana/grafana'
with: with: