Skip to content

Commit

Permalink
Adding push event to tests and making events def consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
bergsalex committed Nov 14, 2023
1 parent ccd29b1 commit 55f2705
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Release to PyPI

on:
push:
branches: [ main ]
paths: ['pyproject.toml']
branches:
- 'main'
paths:
- 'pyproject.toml'

permissions:
contents: write
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: Tests
on:
pull_request:
branches: [ main ]
branches:
- 'main'
push:
branches:
- 'main'
jobs:
test:
strategy:
Expand Down

0 comments on commit 55f2705

Please sign in to comment.