forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
190 changed files
with
2,751 additions
and
1,558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Assign Issue | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
issue_comment: | ||
types: [created] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
assign: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Assign the user or unassign stale assignments | ||
uses: takanome-dev/[email protected] | ||
with: | ||
github_token: '${{ secrets.GITHUB_TOKEN }}' | ||
days_until_unassign: 30 | ||
assigned_comment: | | ||
👋 Hey @{{ comment.user.login }}, | ||
Thanks for your interest in this issue! 🎉 | ||
Newcomers, we're excited to have you on board. Start by exploring our [Contributing](https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md) guidelines, and don't forget to check out our [workspace setup guidelines](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace) to get started smoothly. | ||
In case you encounter failing tests during development, please check our [developer FAQs](https://devdocs.jabref.org/code-howtos/faq.html)! | ||
Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on [JabRef's Gitter chat](https://gitter.im/JabRef/jabref). And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback. | ||
⚠ Note that this issue will become unassigned if it isn't closed within **{{ totalDays }} days**. | ||
🔧 A maintainer can also add the **{{ inputs.pin_label }}** label to prevent it from being unassigned automatically. | ||
Happy coding! 🚀 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
name: On labeled issue | ||
|
||
on: | ||
issues: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
FirstTimeCodeContribution: | ||
if: ${{ github.event.label.name == 'FirstTimeCodeContribution' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: GreetingFirstTimeCodeContribution | ||
uses: peter-evans/create-or-update-comment@v4 | ||
with: | ||
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }} | ||
body: | | ||
Welcome to the vibrant world of open-source development with JabRef! | ||
Newcomers, we're excited to have you on board. Start by exploring our [Contributing](https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md) guidelines, and don't forget to check out our [workspace setup guidelines](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace) to get started smoothly. | ||
In case you encounter failing tests during development, please check our [developer FAQs](https://devdocs.jabref.org/code-howtos/faq.html)! | ||
Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on [JabRef's Gitter chat](https://gitter.im/JabRef/jabref). And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback. | ||
⚠ Note that this issue will become unassigned if it isn't closed within **30 days**. | ||
🔧 A maintainer can also add the **`Pinned`** label to prevent it from being unassigned automatically. | ||
Happy coding! 🚀 | ||
- name: Move Issue to "Assigned" Column in "Candidates for University Projects" | ||
uses: m7kvqbe1/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} | ||
project-url: "https://github.com/orgs/JabRef/projects/3" | ||
target-labels: "FirstTimeCodeContribution" | ||
target-column: "Assigned" | ||
ignored-columns: "" | ||
- name: Move Issue to "Assigned" Column in "Good First Issues" | ||
uses: m7kvqbe1/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} | ||
project-url: "https://github.com/orgs/JabRef/projects/5" | ||
target-labels: "FirstTimeCodeContribution" | ||
target-column: "Assigned" | ||
ignored-columns: "" | ||
Assigned: | ||
name: "📍 Assigned" | ||
if: ${{ github.event.label.name == '📍 Assigned' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Move Issue to "Assigned" Column in "Candidates for University Projects" | ||
uses: m7kvqbe1/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} | ||
project-url: "https://github.com/orgs/JabRef/projects/3" | ||
target-labels: "📍 Assigned" | ||
target-column: "Assigned" | ||
ignored-columns: "" | ||
- name: Move Issue to "Assigned" Column in "Good First Issues" | ||
uses: m7kvqbe1/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} | ||
project-url: "https://github.com/orgs/JabRef/projects/5" | ||
target-labels: "📍 Assigned" | ||
target-column: "Assigned" | ||
ignored-columns: "" | ||
good-first-issue: | ||
name: "good first issue" | ||
if: "${{ github.event.label.name == 'good first issue' }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "good first issue" | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN_PROJECT_ITEM_ADD }} | ||
run: | | ||
ISSUE_URL=$(jq --raw-output .issue.html_url "$GITHUB_EVENT_PATH") | ||
gh project item-add 5 --owner JabRef --url $ISSUE_URL | ||
needs-refinement: | ||
if: github.event.label.name == 'needs-refinement' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: needs-refinement | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN_PROJECT_ITEM_ADD }} | ||
run: | | ||
ISSUE_URL=$(jq --raw-output .issue.html_url "$GITHUB_EVENT_PATH") | ||
gh project item-add 15 --owner JabRef --url $ISSUE_URL | ||
status-freeze: | ||
name: "status: freeze" | ||
if: "${{ github.event.label.name == 'status: freeze' }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "status: freeze" | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN_PROJECT_ITEM_ADD }} | ||
run: | | ||
ISSUE_URL=$(jq --raw-output .issue.html_url "$GITHUB_EVENT_PATH") | ||
gh project item-add 9 --owner JabRef --url $ISSUE_URL | ||
ui: | ||
if: "${{ github.event.label.name == 'ui' }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: ui | ||
env: | ||
GH_DEBUG: api | ||
GH_TOKEN: ${{ secrets.GH_TOKEN_PROJECT_ITEM_ADD }} | ||
run: | | ||
ISSUE_URL=$(jq --raw-output .issue.html_url "$GITHUB_EVENT_PATH") | ||
echo $ISSUE_URL | ||
gh project item-add 8 --owner JabRef --url $ISSUE_URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: On labeled PR | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
|
||
jobs: | ||
automerge: | ||
name: Auto Merge | ||
if: "${{ github.event.label.name == 'automerge' }}" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Approve PR | ||
run: gh pr review --approve "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GH_TOKEN_JABREF_MACHINE_PR_APPROVE}} | ||
- name: Merge PR | ||
run: gh pr merge --auto --squash "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GH_TOKEN_UPDATE_GRADLE_WRAPPER}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: On unlabeled issue | ||
|
||
on: | ||
issues: | ||
types: | ||
- unlabeled | ||
|
||
jobs: | ||
FirstTimeCodeContribution_or_Assigned: | ||
if: ${{ (github.event.label.name == 'FirstTimeCodeContribution') || (github.event.label.name == '📍 Assigned') }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Move Issue to "Free to take" Column in "Candidates for University Projects" | ||
uses: m7kvqbe1/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} | ||
project-url: "https://github.com/orgs/JabRef/projects/3" | ||
target-labels: "📍 Assigned" | ||
target-column: "Assigned" | ||
ignored-columns: "" | ||
default-column: "Free to take" | ||
- name: Move Issue to "Free to take" Column in "Good First Issues" | ||
uses: m7kvqbe1/[email protected] | ||
with: | ||
github-token: ${{ secrets.GH_TOKEN_ACTION_MOVE_ISSUE }} | ||
project-url: "https://github.com/orgs/JabRef/projects/5" | ||
target-labels: "📍 Assigned" | ||
target-column: "Assigned" | ||
ignored-columns: "" | ||
default-column: "Free to take" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"davidanson.vscode-markdownlint", | ||
"valentjn.vscode-ltex" | ||
"ltex-plus.vscode-ltex-plus" | ||
] | ||
} |
Oops, something went wrong.