Add sync-tag.yml GitHub workflow (#1362)

This commit is contained in:
Yury Gargay 2023-12-08 10:55:31 +01:00 committed by GitHub
parent 006ba32086
commit 050f140245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.github/workflows/sync-tag.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: sync tag
on:
push:
tags:
- 'v*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }}
cancel-in-progress: true
jobs:
trigger_sync_tag:
runs-on: ubuntu-latest
steps:
- name: Trigger release tag sync
uses: benc-uk/workflow-dispatch@v1
with:
workflow: sync-tag.yml
repo: ${{ secrets.UPSTREAM_REPO }}
token: ${{ secrets.NC_GITHUB_TOKEN }}
inputs: '{ "tag": "${{ github.ref_name }}" }'