You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ghprcomment.yml
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -88,10 +88,13 @@
88
88
- jobName: no-force-push
89
89
always: true
90
90
message: >
91
-
Do not force-push!
92
-
Force pushing is a very bad practice when working together on a project (mainly because it is [not supported well by GitHub itself](https://github.com/orgs/community/discussions/3478)).
91
+
Hey, we noticed that you **force-pushed** your changes.
92
+
Force pushing is a bad practice when working together on a project (mainly because it is [not supported well by GitHub itself](https://github.com/orgs/community/discussions/3478)).
93
93
Commits are lost and comments on commits lose their context, thus making it harder to review changes.
94
94
At the end, all commits will be [squashed](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/about-pull-request-merges#squash-and-merge-your-commits) anyway before being merged into the `main` branch.
95
+
96
+
97
+
In future, **please avoid that**. For now, you can continue working.
95
98
- jobName: 'Conflicts with target branch'
96
99
message: >
97
100
Your pull request conflicts with the target branch.
0 commit comments