mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-06 19:06:42 +01:00
Merge pull request #496 from hermeznetwork/feature/integration
run integration on push to master
This commit is contained in:
17
.github/workflows/integration.yml
vendored
Normal file
17
.github/workflows/integration.yml
vendored
Normal 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"}}'
|
||||||
Reference in New Issue
Block a user