From 65966ad7764397e07461116fe67d51f6b2e16d82 Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Tue, 12 Oct 2021 10:58:00 -0700 Subject: [PATCH] Webhook to trigger event for CI on PR. --- .github/workflows/pub_staging_pr.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/pub_staging_pr.yml diff --git a/.github/workflows/pub_staging_pr.yml b/.github/workflows/pub_staging_pr.yml new file mode 100644 index 0000000..50a21fc --- /dev/null +++ b/.github/workflows/pub_staging_pr.yml @@ -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"}' \ No newline at end of file