Skip to content

Commit

Permalink
Deactivate gitspiegel - Fail due to token format (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
wirednkod authored Nov 7, 2023
1 parent 61a1074 commit 87212d8
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/gitspiegel-trigger.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: gitspiegel sync
# name: gitspiegel sync

on:
pull_request:
types:
- opened
- synchronize
- unlocked
- ready_for_review
- reopened
# 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 }}"
# 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 }}"

0 comments on commit 87212d8

Please sign in to comment.