crowdsec/.github/workflows/dispatch_test_debpkg.yaml
blotus 430b4bafbc
Update CI (#760)
* Force machine-id when running tests

* Use the source branch instead of master when dispatching to packaging repo
2021-04-20 11:07:13 +02:00

21 lines
509 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": "${{ github.ref }}"}'