From 1e7f903cf96bebd36f567322509a6f9bd41c6ef0 Mon Sep 17 00:00:00 2001 From: Pedro grilo Date: Mon, 18 Jan 2021 23:47:19 +0000 Subject: [PATCH] Add action to trigger tests in integration-testing --- .github/workflows/integration.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 0000000..836583f --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,17 @@ +name: Integration testing + +on: + push: + branches: + - master + +jobs: + trigger-integration: + runs-on: ubuntu-latest + steps: + - name: send event to integration-testing + run: | + curl -X POST https://api.github.com/repos/hermeznetwork/integration-testing/actions/workflows/update.yml/dispatches \ + -H 'Accept: application/vnd.github.v3+json' \ + -u ${{ secrets.INT_BOT_ACCESS_TOKEN }} \ + --data '{"ref":"main","inputs": {"repository": "hermeznetwork/hermez-node"}}'