Introduction to providers
If you want to integrate your scripts with third-party websites and services, providers are the way to go. They allow you to filter only the requests coming from them, and they also give your scripts more information specific to that provider.
Fisher has currently native support for these providers:
- Standalone - for scripts not tied to a specific third-party website
- GitHub - for webhooks coming from GitHub.com
- GitLab - for webhooks coming from a GitLab instance
Applying a provider to a script
In order to apply a provider to a script, you need to add its configuration comment to the top of the script. After Fisher is started/reloaded, it will start filtering requests according to that provider. You can also add multiple providers to a single script, and they will be validated according to the ordering they're wrote in the script.