18 lines
468 B
YAML
18 lines
468 B
YAML
name: Dispatch when pre-release
|
|
|
|
on:
|
|
release:
|
|
types: prereleased
|
|
|
|
jobs:
|
|
dispatch:
|
|
name: dispatch to hub-tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.DISPATCH_TOKEN }}
|
|
event-type: create_tag
|
|
repository: crowdsecurity/hub-tests
|
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |