0

I'm wanting to have Patreon webhooks kick off a GitHub Actions Workflow. https://www.patreon.com/portal/registration/register-webhooks

This is the URL format I've attempted to use; https://api.github.com/[username]/[repo_name]/dispatches

I've added the following to my workflow .yml file on GitHub;

on:
  push:
    branches: [ source ]
  workflow_dispatch:
  
  repository_dispatch:
...

Sending tests from Patreon's webhooks page doesn't kick off a workflow run. I assume that I need to provide a GitHub auth token to Patreon's webhook page somehow, but I'm not sure how to do so or if an auth token is a solution at all. What am I missing here?

bunduru
  • 121
  • 3
  • 13
  • The auth token goes into the `Authorization` header, see [here](https://docs.github.com/en/rest/repos/repos#create-a-repository-dispatch-event). I don't know if that can be configured on Patreon's end, though. – Benjamin W. Oct 13 '22 at 20:25

0 Answers0