Add label actions things.

This commit is contained in:
James Cole
2023-10-21 07:58:24 +02:00
parent 9c5b3fc030
commit b5e4ac0038
2 changed files with 66 additions and 0 deletions

45
.github/label-actions.yml vendored Normal file
View File

@@ -0,0 +1,45 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions
# The `feature` label is added to issues
feature:
issues:
# Post a comment, `{issue-author}` is an optional placeholder
comment: >
Hi there!
This issue has been marked as a feature request. The requested (new) feature will become a part of Firefly III
or the data importer in due course.
If you come across this issue, please be aware there is NO need to reply with "+1" or "me too" or
"I need this too" or whatever. Such comments are not helpful and will be :skull: deleted. You can subscribe to
this issue to get updates.
Thank you for your contributions.
enhancement:
issues:
# Post a comment, `{issue-author}` is an optional placeholder
comment: >
Hi there!
This issue has been marked as an enhancement. The requested (new) feature will become a part of Firefly III
or the data importer in due course.
If you come across this issue, please be aware there is NO need to reply with "+1" or "me too" or
"I need this too" or whatever. Such comments are not helpful and will be :skull: deleted. You can subscribe to
this issue to get updates.
Thank you for your contributions.
# The `solved` label is added to discussions
triage:
issues:
# Post a comment, `{issue-author}` is an optional placeholder
comment: >
Hi there!
This issue has been marked as being in triage. The root cause is not known yet, or the issue needs more
investigation. You can help by sharing debug information (from `/debug`) if you also have this issue or
when you haven't already done so.
Thank you for your contributions.

21
.github/workflows/label-actions.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: 'Label Actions'
on:
issues:
types: [labeled, unlabeled]
pull_request_target:
types: [labeled, unlabeled]
discussion:
types: [labeled, unlabeled]
permissions:
contents: read
issues: write
pull-requests: write
discussions: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v3