Skip to content

Commit

Permalink
feat: 🎸 only run build pipeline on pushes to non main branches
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinHeidenis committed Nov 28, 2023
1 parent 8730d62 commit a2bc8ec
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Build
run-name: Build heimdall for ${{ github.actor }} on ${{ github.base.ref }}
on: [push, pull_request]
on:
push:
branches-ignore:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.21.4
- name: Install dependencies
Expand Down

0 comments on commit a2bc8ec

Please sign in to comment.