Skip to content

Commit

Permalink
ci: only run on pushes to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 22, 2023
1 parent 5e51861 commit 3f6c52b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build

on:
push:
tags:
- "*"
# Build on each new tag
tags: ["*"]
# Allow manual trigger
workflow_dispatch:

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Build CI Img
on:
# Push includes PR merge
push:
branches:
- main
branches: [main]
paths:
# Workflow is triggered only if deps change
- "pyproject.toml"
Expand Down

0 comments on commit 3f6c52b

Please sign in to comment.