Skip to content
Merged
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/notify-build-system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Notify Build System

on:
push:
branches: [main]
paths:
- "dist/paystack.yaml"

jobs:
dispatch:
name: Dispatch spec update
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Dispatch to Build System
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.DISPATCH_TOKEN }}
repository: ${{ secrets.BUILD_SYSTEM }}
event-type: openapi-spec-updated
client-payload: >-
{"ref":"${{ github.ref }}","sha":"${{ github.sha }}","repository":"${{ github.repository }}"}
Loading