Skip to content

Commit

Permalink
release branches shouldn't trigger prerelease job (#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
sozercan committed May 5, 2022
1 parent e835348 commit ffea423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')) && github.event_name == 'push' && github.repository == 'open-policy-agent/gatekeeper'
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && github.repository == 'open-policy-agent/gatekeeper'
needs: [lint, test, build_test, helm_build_test, scan_vulnerabilities]
timeout-minutes: 30
permissions:
Expand Down

0 comments on commit ffea423

Please sign in to comment.