Skip to content

Commit

Permalink
chore(actions): limits the number of actions triggered on push
Browse files Browse the repository at this point in the history
We only really care about triggers on pull-request and on wip branches
dedicated to cicd, for now. We might adjust this in future.
  • Loading branch information
doublethefish committed Nov 28, 2024
1 parent 441ef20 commit 1fc552e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
## IMPORTANT: the configuration for cibuildwheel is kept in pyproject.toml
name: wheels

on: [push, pull_request]
on:
push:
branches:
# on push, only build on wip chore/cicd branches so we can test in those
# contexts without triggering pull-requests.
- chore/cicd/*
pull_request:

jobs:
generate-wheels-matrix:
Expand Down

0 comments on commit 1fc552e

Please sign in to comment.