Skip to content

Commit a526fa0

Browse files
chore: update condition for running GS Scorecard to only trigger on push to main
1 parent e4dec7a commit a526fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ jobs:
822822
run-gs-scorecard:
823823
name: quality-gs-scorecard
824824
needs: build
825-
if: ${{ !cancelled() && needs.build.result == 'success' }}
825+
if: ${{ !cancelled() && needs.build.result == 'success' && (github.ref_name == 'main' && github.event_name == 'push') }}
826826
runs-on: ubuntu-latest
827827
steps:
828828
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)