Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cesxhin committed Sep 29, 2024
1 parent 9654b89 commit 65aebfa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: "CI/CD Pipeline"
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
release:
types: [published]

Expand Down Expand Up @@ -36,7 +33,7 @@ jobs:
check-version:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main' && github.event_name == 'release' && github.event.action == 'published'
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit 65aebfa

Please sign in to comment.