workspace:
base: /go
pipeline:
fetch:
image: golang
commands:
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/gogs-notify.sh
notify-gogs:
when:
event: pull_request
secrets: [gogs_account_token]
- echo "Notifying"
- sh gogs-notify.sh