Skip to content

Commit

Permalink
Clean up triggers and add concurrency handling (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Nov 14, 2022
1 parent 24d69c5 commit eb31188
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
name: Python Wheels

on: [push, pull_request]
on:
push:
branches: ["master"]
tags:
- "**"
pull_request:
workflow_dispatch:

concurrency:
group: wheels-${{ github.ref }}
cancel-in-progress: true


jobs:
build-wheels:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: python-bsonjs

on: [push, pull_request]
on:
push:
branches: ["master"]
pull_request:
workflow_dispatch:

concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down

0 comments on commit eb31188

Please sign in to comment.