diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 8be796a..528028d 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -4,8 +4,6 @@ on: push: branches: - '**' # Triggers on push to any branch - branches-ignore: - - master # Exclude master branch pull_request: branches: - master # Triggers on PR to master branch @@ -13,6 +11,7 @@ on: jobs: build: + if: github.ref != 'refs/heads/master' runs-on: ubuntu-latest steps: