crowdsec/.github/workflows/dispatch_test_debpkg.yaml
Thibault "bui" Koechlin 190fa112dd
Debian package auto-testing (#701)
* add dispatch to debian CI

* test dispatch

* keep only master

* push+mr

* document the functional tests
2021-03-19 16:28:55 +01:00

21 lines
498 B
YAML

name: Dispatch to deb pkg repo for tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
dispatch:
name: dispatch to deb pkg repo
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DISPATCH_TOKEN }}
event-type: test_package_from_master
repository: crowdsecurity/packaging
client-payload: '{"branch": "master"}'