Skip to content

Commit 7cd842e

Browse files
committed
Skip job status report on main branch.
1 parent 82fc982 commit 7cd842e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
report:
115115
name: Report Job Status
116116
needs: [changes, formatting, test, docs]
117-
if: always()
117+
if: always() && ( github.ref != 'refs/heads/main' ) # This job is for branch protection rule so it doesn't have to run on main branch.
118118
runs-on: ubuntu-24.04
119119
steps:
120120
- name: Report Job Success

0 commit comments

Comments
 (0)