Skip to content

Commit

Permalink
fix: Update branch filter in CI/CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jjjermiah committed Apr 1, 2024
1 parent e2e9b74 commit 6cb12bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: CI-CD
on:
push:
# push to any branch *
branches: [ main , development ]
branches: [ main ]
pull_request:
branches: [ main , development]
branches: [ main , development ]

jobs:
Unit-Tests:
Expand Down Expand Up @@ -97,10 +97,10 @@ jobs:
issues: write
pull-requests: write

# needs: [Unit-Tests]
needs: [Unit-Tests]

# if pulling to main, deploy to PyPI
# if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main'

# Set up operating system
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6cb12bc

Please sign in to comment.