From 636f68cba9e7c9f25d8ea9d6d43d554d2d91d867 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:11:16 +0300 Subject: [PATCH 1/5] Fix trello label and mark F3X tickets as invalid --- .github/labeler.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index da6f27169c..bab0f3970c 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -10,5 +10,9 @@ - '### What part of Adonis is this related to\?\s+GitHub Repository' '🖇️ loader': - '### What part of Adonis is this related to\?\s+Loader/Settings' +'trello': + - '### What part of Adonis is this related to\?\s+Trello' +'❌ invalid' + - '### What part of Adonis is this related to\?\s+F3X/Building Tools' '🎏 miscellaneous': - '### What part of Adonis is this related to\?\s+Other' From 8f9f457ed20878bb2e904eff7a5339bb135f5843 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:17:59 +0300 Subject: [PATCH 2/5] Add BTools to dropdown labels --- .github/ISSUE_TEMPLATE/Bug_Report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/ISSUE_TEMPLATE/Bug_Report.yml b/.github/ISSUE_TEMPLATE/Bug_Report.yml index 7ff67693d8..a751103edc 100644 --- a/.github/ISSUE_TEMPLATE/Bug_Report.yml +++ b/.github/ISSUE_TEMPLATE/Bug_Report.yml @@ -37,6 +37,7 @@ body: - GitHub Repository - Anti-Exploit - Trello + - F3X/Building Tools - Other validations: required: true From e0054459ad00ed1aff94308072a937af775680c0 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:18:07 +0300 Subject: [PATCH 3/5] Add BTools and Trello to dropdown labels --- .github/ISSUE_TEMPLATE/Feature_Request.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/Feature_Request.yml b/.github/ISSUE_TEMPLATE/Feature_Request.yml index a031f649be..dd373b065a 100644 --- a/.github/ISSUE_TEMPLATE/Feature_Request.yml +++ b/.github/ISSUE_TEMPLATE/Feature_Request.yml @@ -19,6 +19,8 @@ body: - Documentation - GitHub Repository - Anti-Exploit + - Trello + - F3X/Building Tools - Other validations: required: true @@ -29,4 +31,4 @@ body: placeholder: ex. Add a new command that does XYZ validations: required: true - \ No newline at end of file + From 7d4029d4aee5ae4d5b63d2d3b57f272361ce00e4 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:50:27 +0300 Subject: [PATCH 4/5] Create close_issues.yml --- .github/workflows/close_issues.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/close_issues.yml diff --git a/.github/workflows/close_issues.yml b/.github/workflows/close_issues.yml new file mode 100644 index 0000000000..100042e43e --- /dev/null +++ b/.github/workflows/close_issues.yml @@ -0,0 +1,23 @@ +name: Close invalid issues + +on: + issues: + types: [labeled] + +jobs: + close-issue: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.2.1 + + - name: Close issue + if: github.event.label.name == '❌ invalid' && !(contains(github.event.issue.body, 'F3X/Building Tools')) && + run: gh issue close --comment "This issue has been closed as invalid. Please look at our [contribution guide](https://github.com/Epix-Incorporated/Adonis/blob/master/CONTRIBUTING.md)" --reason "not planned" "1" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Close BTools issue + if: github.event.label.name == '❌ invalid' && (contains(github.event.issue.body, 'F3X/Building Tools')) && + run: gh issue close --comment "We use F3X for our building tools system. Please [make an issue ticket](https://github.com/F3XTeam/RBX-Building-Tools/issues/new) on the F3X Team BTools repository. \~ Yours truly - E🅱️ix Agents" --reason "not planned" "1" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 117aa316d34fffefcc91cc8667dfd5f21ca153f6 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:16:26 +0300 Subject: [PATCH 5/5] Remove joke --- .github/workflows/close_issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/close_issues.yml b/.github/workflows/close_issues.yml index 100042e43e..461542c629 100644 --- a/.github/workflows/close_issues.yml +++ b/.github/workflows/close_issues.yml @@ -18,6 +18,6 @@ jobs: - name: Close BTools issue if: github.event.label.name == '❌ invalid' && (contains(github.event.issue.body, 'F3X/Building Tools')) && - run: gh issue close --comment "We use F3X for our building tools system. Please [make an issue ticket](https://github.com/F3XTeam/RBX-Building-Tools/issues/new) on the F3X Team BTools repository. \~ Yours truly - E🅱️ix Agents" --reason "not planned" "1" + run: gh issue close --comment "We use F3X for our building tools system. Please [make an issue ticket](https://github.com/F3XTeam/RBX-Building-Tools/issues/new) on the F3X Team BTools repository." --reason "not planned" "1" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}