Skip to content

Commit

Permalink
actions: fix workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
willeccles committed Nov 18, 2024
1 parent 1b6d6cd commit d16e660
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
name: Upload Python Package

on:
release:
types: [published]
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches:
- main

permissions:
contents: read
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches:
- main

jobs:
release:
Expand Down

0 comments on commit d16e660

Please sign in to comment.