Replace all Yes/No/OK/Cancel dialogs #7
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
name: On isuse comment | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
assign: | |
if: github.repository_owner == 'JabRef' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- name: Assign the user or unassign stale assignments | |
id: assign | |
uses: takanome-dev/assign-issue-action@edge | |
with: | |
github_token: '${{ secrets.GITHUB_TOKEN }}' | |
days_until_unassign: 45 | |
maintainers: 'koppor,Siedlerchr,ThiloteE,calixtus,HoussemNasri,subhramit,LinusDietz' | |
assigned_comment: | | |
👋 Hey @{{ handle }}, thank you for your interest in this issue! 🎉 | |
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. | |
Happy coding! 🚀 | |
⏳ 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. | |
assignment_suggestion_comment: > | |
👋 Hey @{{ handle }}, looks like you’re eager to work on this issue—great! 🎉 | |
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. | |
Give it a read, and you’ll discover the ancient wisdom of assigning issues to yourself. Trust me, it’s worth it. 🚀 | |
- name: Move issue corresponding column in "Candidates for University Projects" | |
uses: m7kvqbe1/github-action-move-issues@main | |
if: ${{ steps.assign.outputs.assigned == 'yes' || steps.assign.outputs.unassigned == 'yes' }} | |
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" | |
skip-if-not-in-project: true | |
- name: Move issue corresponding column in "Good First Issues" | |
uses: m7kvqbe1/github-action-move-issues@main | |
if: ${{ steps.assign.outputs.assigned == 'yes' || steps.assign.outputs.unassigned == 'yes' }} | |
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" | |
skip-if-not-in-project: true |