]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
New "PR made on master" message (#36441)
authorMyra <vasilis@pikachu.systems>
Thu, 10 Apr 2025 20:10:26 +0000 (22:10 +0200)
committerGitHub <noreply@github.com>
Thu, 10 Apr 2025 20:10:26 +0000 (13:10 -0700)
* New "PR made on master" message

* Update close-master-pr.yml

* Sponsored by languagetool

* Update close-master-pr.yml

* Update close-master-pr.yml

.github/workflows/close-master-pr.yml

index 51ce874dd07021b21574c36ae1f7ce121034fd21..42e512d556f47bf96c1333fe1dc7479751782232 100644 (file)
@@ -12,7 +12,7 @@ jobs:
     steps:    
     - uses: superbrothers/close-pull-request@v3
       with:
-        comment: "Thank you for contributing to the Space Station 14 repository. Unfortunately, it looks like you submitted your pull request from the master branch. We suggest you follow [our git usage documentation](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html) \n\n You can move your current work from the master branch to another branch by doing `git branch <branch_name` and resetting the master branch."
+        comment: "Thank you for your contribution! It appears you created a PR from your master branch, this is [something you should avoid doing](https://jmeridth.com/posts/do-not-issue-pull-requests-from-your-master-branch/), and thus this PR has been automatically closed. \n \n We suggest you follow [our git usage documentation](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html). \n \n You can move your current work from the master branch to another branch by following [these commands](https://ohshitgit.com/#accidental-commit-master). And then you may recreate your PR using the new branch."
 
     # If you prefer to just comment on the pr and not close it, uncomment the bellow and comment the above