Skip to content
Open
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
23 changes: 23 additions & 0 deletions .github/workflows/trigger_new_template_version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: send new template version trigger

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

Comment thread
ahms5 marked this conversation as resolved.
jobs:
dispatch:
Comment thread
ahms5 marked this conversation as resolved.
if: ${{ github.event.created == true && github.event.deleted != true }}
strategy:
Comment thread
ahms5 marked this conversation as resolved.
matrix:
repo: ['pyfar/pyfar', 'pyfar/spharpy', 'pyfar/sofar', 'pyfar/pyrato', 'pyfar/imkar']
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.PAT }}
repository: ${{ matrix.repo }}
event-type: new-template-version
Comment thread
ahms5 marked this conversation as resolved.
client-payload: '{"template_version":"${{ github.ref_name }}","source_repository":"${{ github.repository }}"}'