Webhook to trigger event for CI on PR.

This commit is contained in:
awalsh128 2021-10-12 10:58:00 -07:00
parent f3b7ddaf92
commit 65966ad776

12
.github/workflows/pub_staging_pr.yml vendored Normal file
View file

@ -0,0 +1,12 @@
name: Tests
on: [pull_request]
jobs:
publish_event:
runs-on: ubuntu-latest
name: Publish staging pull request.
steps:
- run: |
curl -X POST -H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/awalsh128/cache-apt-pkgs-actions-ci/dispatches \
-d '{"event_type":"staging_pull_request"}'