Skip to content

Commit 79a85a6

Browse files
committed
fix ci success on main pushes
1 parent 9b1c42b commit 79a85a6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
name: CI Success
4545
runs-on: ubuntu-latest
4646
needs: [unit, lint]
47-
if: always()
47+
# The shared action waits for all PR checks on this commit; on push to main
48+
# it can also pick up unrelated branch checks (for example Dependabot).
49+
if: ${{ always() && github.event_name == 'pull_request' }}
4850
timeout-minutes: 5
4951
permissions:
5052
checks: read

0 commit comments

Comments
 (0)