Add action to trigger tests in integration-testing

This commit is contained in:
Pedro grilo
2021-01-18 23:47:19 +00:00
committed by Arnau B
parent 1ac2d783e9
commit 1e7f903cf9

17
.github/workflows/integration.yml vendored Normal file
View File

@@ -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"}}'