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
+32
Original file line number
Diff line number
Diff line change
@@ -49,3 +49,35 @@
49
49
Commits will be lost, comments on commits will loose their context.
50
50
This makes it harder to review.
51
51
In 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) either way before being merged into the `main`` branch.
52
+
- jobName: move_issue
53
+
message: |
54
+
Your pull request needs to link an issue.
55
+
56
+
To ease organizational workflows, please link this pull-request to the issue with syntax as described in <https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue>:
57
+
58
+
> <h2 id="linking-a-pull-request-to-an-issue-using-a-keyword">Linking a pull request to an issue using a keyword</h2>
59
+
> <p>You can link a pull request to an issue by using a supported keyword
60
+
> in the pull request's description or in a commit message. The pull
61
+
> request <strong>must be</strong> on the default branch.</p>
62
+
> <ul>
63
+
> <li>close</li>
64
+
> <li>closes</li>
65
+
> <li>closed</li>
66
+
> <li>fix</li>
67
+
> <li>fixes</li>
68
+
> <li>fixed</li>
69
+
> <li>resolve</li>
70
+
> <li>resolves</li>
71
+
> <li>resolved</li>
72
+
> </ul>
73
+
> <p>If you use a keyword to reference a pull request comment in another
74
+
> pull request, the pull requests will be linked. Merging the referencing
75
+
> pull request also closes the referenced pull request.</p>
76
+
> <p>The syntax for closing keywords depends on whether the issue is in the same repository as the pull request.</p>
77
+
78
+
### Examples
79
+
80
+
- ✅ `Fixes #xyz` links pull-request to issue. Merging the PR will close the issue.
81
+
- ✅ `Fixes https://github.com/JabRef/jabref/issues/xyz` links pull-request to issue. Merging the PR will close the issue.
82
+
- ✅ `Fixes https://github.com/Koppor/jabref/issues/xyz` links pull-request to issue. Merging the PR will close the issue.
83
+
- ❌ `Fixes [#xyz](https://github.com/JabRef/jabref/issues/xyz)` links pull-request to issue. Merging the PR will **NOT** close the issue.
Copy file name to clipboardexpand all lines: .github/workflows/on-issue-comment.yml
+14-14
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,19 @@
1
-
name: Assign Issue
1
+
name: On isuse comment
2
2
3
3
on:
4
-
schedule:
5
-
- cron: 4 12 * * *
6
4
issue_comment:
7
5
types: [created]
8
-
workflow_dispatch:
9
6
10
7
jobs:
11
8
assign:
12
-
if: github.repository_owner == 'JabRef'
9
+
if: github.repository == 'JabRef/jabref'
13
10
runs-on: ubuntu-latest
14
11
permissions:
15
12
issues: write
16
13
steps:
17
14
- name: Assign the user or unassign stale assignments
18
15
id: assign
19
-
uses: takanome-dev/assign-issue-action@beta
16
+
uses: takanome-dev/assign-issue-action@edge
20
17
with:
21
18
github_token: '${{ secrets.GITHUB_TOKEN }}'
22
19
days_until_unassign: 45
@@ -32,11 +29,14 @@ jobs:
32
29
33
30
Happy coding! 🚀
34
31
35
-
⏳ Please note, you will be automatically unassigned if the issue isn't closed within **{{ total_days }} days** (by **{{ unassigned_date }}**). A maintainer can also add the "**{{ pin_label }}**"" label to prevent automatic unassignment.
36
-
- name: Move Issue to "Assigned" Column in "Candidates for University Projects"
# Action currently works for issues only - pre-condition: https://github.com/takanome-dev/assign-issue-action/issues/269 fixed
39
-
if: github.event_name == 'issue_comment'
32
+
⏳ Please note, you will be automatically unassigned if the issue isn't closed within **{{ total_days }} days** (by **{{ unassigned_date }}**). A maintainer can also add the "**{{ pin_label }}**" label to prevent automatic unassignment.
33
+
assignment_suggestion_comment: >
34
+
👋 Hey @{{ handle }}, looks like you’re eager to work on this issue—great! 🎉
35
+
It also looks like you skipped reading our [CONTRIBUTING.md](https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md), which explains exactly how to participate. No worries, it happens to the best of us.
36
+
Give it a read, and you’ll discover the ancient wisdom of assigning issues to yourself. Trust me, it’s worth it. 🚀
37
+
- name: Move issue corresponding column in "Candidates for University Projects"
0 commit comments