* github-ci: color unit test output and logs * new config option: force_color_logs (useful in CI) * bats: show sqlite/mysql dump at the end * removed "-v" (print package names) from "go build" * general workflow cleanup
25 lines
666 B
YAML
25 lines
666 B
YAML
name: Dispatch to hub when creating pre-release
|
|
|
|
on:
|
|
release:
|
|
types: prereleased
|
|
|
|
jobs:
|
|
dispatch:
|
|
name: dispatch to hub-tests
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- id: keydb
|
|
uses: pozetroninc/github-action-get-latest-release@master
|
|
with:
|
|
owner: crowdsecurity
|
|
repo: crowdsec
|
|
excludes: prerelease, draft
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.DISPATCH_TOKEN }}
|
|
event-type: create_branch
|
|
repository: crowdsecurity/hub
|
|
client-payload: '{"version": "${{ steps.keydb.outputs.release }}"}'
|