diff --git a/.github/workflows/sync-tag.yml b/.github/workflows/sync-tag.yml new file mode 100644 index 000000000..2a2255996 --- /dev/null +++ b/.github/workflows/sync-tag.yml @@ -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 }}" }' \ No newline at end of file