Skip to content

Commit 0f747f5

Browse files
committed
removed main requirement on affected tests
1 parent 1c234e4 commit 0f747f5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/affected-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
workflow_run:
55
workflows: ["build"]
66
types: [completed]
7-
branches: [main]
87

98
permissions:
109
contents: read

.github/workflows/build-test-deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137

138138
# summary jobs, these jobs will only run if all the other jobs have succeeded
139139
validate-pr-tests:
140+
if: github.event_name == 'push'
140141
runs-on: ubuntu-latest
141142
needs:
142143
- tidy-check
@@ -151,6 +152,7 @@ jobs:
151152
# this job will validate that the validation did not fail and that all pr-tests succeed
152153
# it is used for the github branch protection rule
153154
validate-success:
155+
if: github.event_name == 'push'
154156
runs-on: ubuntu-latest
155157
needs:
156158
- validate-pr-tests

0 commit comments

Comments
 (0)