Skip to content

Commit

Permalink
chore(ci): Fix triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 18, 2024
1 parent d81518e commit 9327216
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,20 @@ name: CI

on:
push:
branches:
- master
- main
- maint/*
tags:
- '*'
pull_request:
branches:
- master
- main
- maint/*
schedule:
- cron: 0 0 * * 0
# 9am EST / 10am EDT Mondays
- cron: 0 14 * * 0
# Allow job to be triggered manually from GitHub interface
workflow_dispatch:

Expand Down Expand Up @@ -224,7 +235,7 @@ jobs:
publish:
name: Publish released package to pypi.org
environment: release-pypi
if: github.event.action == 'published'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
needs: [build-package, test]
permissions:
Expand Down

0 comments on commit 9327216

Please sign in to comment.