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/workflows/branch.yml
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,11 +23,19 @@ jobs:
23
23
uses: mshick/add-pr-comment@v1
24
24
with:
25
25
message: |
26
+
## This PR is against the `master` branch :x:
27
+
28
+
* Do not close this PR
29
+
* Click _Edit_ and change the `base` to `dev`
30
+
* This CI test will remain failed until you push a new commit
31
+
32
+
---
33
+
26
34
Hi @${{ github.event.pull_request.user.login }},
27
35
28
-
It looks like this pull-request is has been made against the ${{github.event.pull_request.base.repo.full_name }} `master` branch.
36
+
It looks like this pull-request is has been made against the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `master` branch.
29
37
The `master` branch on nf-core repositories should always contain code from the latest release.
30
-
Because of this, PRs to `master` are only allowed if they come from the ${{github.event.pull_request.base.repo.full_name }} `dev` branch.
38
+
Because of this, PRs to `master` are only allowed if they come from the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `dev` branch.
31
39
32
40
You do not need to close this PR, you can change the target branch to `dev` by clicking the _"Edit"_ button at the top of this page.
33
41
Note that even after this, the test will continue to show as failing until you push a new commit.
0 commit comments