From 7ae88b42cf64b4a0d7f79fab950d7aaa4959559a Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 22 Oct 2023 08:16:16 +0200 Subject: [PATCH] Add label action --- .github/label-actions.yml | 37 +++++++++++++++++++++++++++++ .github/workflows/label-actions.yml | 21 ++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 .github/label-actions.yml create mode 100644 .github/workflows/label-actions.yml diff --git a/.github/label-actions.yml b/.github/label-actions.yml new file mode 100644 index 0000000000..761dbee3ca --- /dev/null +++ b/.github/label-actions.yml @@ -0,0 +1,37 @@ +# 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 is an automatic reply. `Share and enjoy` + + 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 do not influence [the roadmap](https://roadmap.firefly-iii.org/). Your comment may 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 is an automatic reply. `Share and enjoy` + + This issue has been marked as an enhancement. The requested enhancement to an existing 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 do not influence [the roadmap](https://roadmap.firefly-iii.org/). Your comment may 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 is an automatic reply. `Share and enjoy` + + 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. diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml new file mode 100644 index 0000000000..caf1a31cc1 --- /dev/null +++ b/.github/workflows/label-actions.yml @@ -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