Skip to content

Commit

Permalink
ci: run on main and tags
Browse files Browse the repository at this point in the history
this feels like a waste when using PRs for everything, but without
running on main, CI on PRs is slow as they don't have any cache entries
to load
  • Loading branch information
tomjnixon committed Feb 3, 2023
1 parent e2ec551 commit 95262ad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
# SPDX short identifier: MIT

name: Build
on: [workflow_dispatch, pull_request]

on:
workflow_dispatch:
pull_request:
push:
branches:
- 'main'
tags:
- '*'
jobs:
job:
name: ${{ matrix.os }}-${{ github.workflow }}
Expand Down

0 comments on commit 95262ad

Please sign in to comment.