dont attempt to release PRs on buildrone

This commit is contained in:
Harvey Tindall 2021-01-08 23:52:36 +00:00
parent fdc97b4e86
commit 0171fb8569
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
1 changed files with 28 additions and 0 deletions

View File

@ -45,3 +45,31 @@ steps:
BUILDRONE_KEY:
from_secret: BUILDRONE_KEY
trigger:
branch:
- main
event:
exclude:
- pull_request
---
name: jfa-go-pr
kind: pipeline
type: docker
steps:
- name: build
image: golang:latest
commands:
- apt update -y
- apt install build-essential python3-pip curl software-properties-common sed upx -y
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
- apt install nodejs
- curl -sL https://git.io/goreleaser > goreleaser.sh
- chmod +x goreleaser.sh
- ./goreleaser.sh --snapshot --skip-publish --rm-dist
trigger:
event:
include:
- pull_request