Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Adding gitspiegel-trigger workflow #1

Adding gitspiegel-trigger workflow

Adding gitspiegel-trigger workflow #1

name: gitspiegel sync
on:
pull_request:
types:
- opened
- synchronize
- unlocked
- ready_for_review
- reopened
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Trigger sync via API
run: |
curl --fail-with-body -XPOST "https://gitspiegel.parity-prod.parity.io/api/v1/mirror/${{ github.repository }}/pull/${{ github.event.number }}" \
-H "Content-Type: application/json" \
-H "x-auth: ${{ secrets.GITSPIEGEL_TOKEN }}"