Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add gh releases workflow (#400) #401

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

David-Pena
Copy link
Collaborator

Summary

Add workflow to post gh releases to a discord channel

Description

Added yml file

Related Issues

Fixes #400

Type of Change

  • New feature (non-breaking change which adds functionality)

Screenshots (if applicable)

N/A

@David-Pena David-Pena requested a review from rrd108 October 12, 2024 05:06
@David-Pena David-Pena self-assigned this Oct 12, 2024
Copy link

logo Vue Mess Detector Analysis Results

PR Code Health Full Code Health

🚨 New Errors: 9
⚠️ New Warnings: 32
✅ Fixed Errors: 2
🔧 Fixed Warnings: 21
📝 Total Lines: 931
📁 Total Files: 10

New Issues

- src/cli.test.ts:
  rrd ~ function size: function (runCLI#21) is too long: 280 lines 🚨
- src/rules/vue-essential/vforNoKey.test.ts:
  rrd ~ Long <script> blocks: (111 lines) 🚨
- src/rules/rrd/nestedTernary.test.ts:
  rrd ~ Long <script> blocks: (121 lines) 🚨
- src/helpers/extractPropNames.ts:
  rrd ~ amount of comments: The script block contains 59.44% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/amountOfComments.test.ts:
  rrd ~ Long <script> blocks: (127 lines) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
- src/rules/rrd/noSkippedTests.test.ts:
  rrd ~ magic numbers: magic numbers found (line #58 magic number: 2) 🚨
  rrd ~ no skipped tests: line #28 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #44 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #58 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #66 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #70 skip test found: ".skipIf" 🚨
  rrd ~ no skipped tests: line #84 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #89 skip test found: ".skipIf" 🚨
- src/rules/rrd/vForExpression.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (6) 🚨
  rrd ~ function size: function (resetResults#9) is too long: 46 lines 🚨
  rrd ~ Zero Length Comparison: line #38 zero length comparison found (results) 🚨
- src/rules/rrd/amountOfComments.ts:
  rrd ~ function size: function (resetResults#7) is too long: 50 lines 🚨
  rrd ~ Zero Length Comparison: line #40 zero length comparison found (results) 🚨
- src/rules/rrd/noSkippedTests.ts:
  rrd ~ function size: function (resetResults#8) is too long: 43 lines 🚨
  rrd ~ Zero Length Comparison: line #34 zero length comparison found (results) 🚨
- src/rules/security/rateLimiter.ts:
  rrd ~ function size: function (resetResults#6) is too long: 39 lines 🚨
  rrd ~ Zero Length Comparison: line #28 zero length comparison found (results) 🚨
- src/helpers/getEscapedLink.ts:
  rrd ~ amount of comments: The script block contains 74.45% comments, which exceeds the limit of 30%. 🚨
- src/types/Override.ts:
  rrd ~ amount of comments: The script block contains 31.82% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/vForExpression.test.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (8) 🚨
- src/helpers/getConfig.ts:
  rrd ~ else conditions: else clauses found (1) 🚨

🔍 Download Full Analysis Details

For any issues or feedback, feel free to report them here.

Copy link

pkg-pr-new bot commented Oct 12, 2024

Open in Stackblitz

yarn add https://pkg.pr.new/rrd108/[email protected]

commit: d632835

@David-Pena
Copy link
Collaborator Author

David-Pena commented Oct 12, 2024

@rrd108 I already created the webhook on Discord (I shared it with you via discord dm) but I cant add a secret to the repository, could you check the missing steps:

https://github.com/SethCohen/github-releases-to-discord?tab=readme-ov-file

The last part:
image

Copy link

logo Vue Mess Detector Analysis Results

PR Code Health Full Code Health

🚨 New Errors: 9
⚠️ New Warnings: 32
✅ Fixed Errors: 2
🔧 Fixed Warnings: 21
📝 Total Lines: 931
📁 Total Files: 10

New Issues

- src/cli.test.ts:
  rrd ~ function size: function (runCLI#21) is too long: 280 lines 🚨
- src/rules/vue-essential/vforNoKey.test.ts:
  rrd ~ Long <script> blocks: (111 lines) 🚨
- src/rules/rrd/nestedTernary.test.ts:
  rrd ~ Long <script> blocks: (121 lines) 🚨
- src/helpers/extractPropNames.ts:
  rrd ~ amount of comments: The script block contains 59.44% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/amountOfComments.test.ts:
  rrd ~ Long <script> blocks: (127 lines) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
  rrd ~ short variable names: variable: (z) 🚨
  rrd ~ short variable names: variable: (x) 🚨
  rrd ~ short variable names: variable: (y) 🚨
- src/rules/rrd/noSkippedTests.test.ts:
  rrd ~ magic numbers: magic numbers found (line #58 magic number: 2) 🚨
  rrd ~ no skipped tests: line #28 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #44 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #58 skip test found: ".todo" 🚨
  rrd ~ no skipped tests: line #66 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #70 skip test found: ".skipIf" 🚨
  rrd ~ no skipped tests: line #84 skip test found: ".skip" 🚨
  rrd ~ no skipped tests: line #89 skip test found: ".skipIf" 🚨
- src/rules/rrd/vForExpression.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (6) 🚨
  rrd ~ function size: function (resetResults#9) is too long: 46 lines 🚨
  rrd ~ Zero Length Comparison: line #38 zero length comparison found (results) 🚨
- src/rules/rrd/amountOfComments.ts:
  rrd ~ function size: function (resetResults#7) is too long: 50 lines 🚨
  rrd ~ Zero Length Comparison: line #40 zero length comparison found (results) 🚨
- src/rules/rrd/noSkippedTests.ts:
  rrd ~ function size: function (resetResults#8) is too long: 43 lines 🚨
  rrd ~ Zero Length Comparison: line #34 zero length comparison found (results) 🚨
- src/rules/security/rateLimiter.ts:
  rrd ~ function size: function (resetResults#6) is too long: 39 lines 🚨
  rrd ~ Zero Length Comparison: line #28 zero length comparison found (results) 🚨
- src/helpers/getEscapedLink.ts:
  rrd ~ amount of comments: The script block contains 74.45% comments, which exceeds the limit of 30%. 🚨
- src/types/Override.ts:
  rrd ~ amount of comments: The script block contains 31.82% comments, which exceeds the limit of 30%. 🚨
- src/rules/rrd/vForExpression.test.ts:
  rrd ~ cyclomatic complexity: Cyclomatic complexity is high (8) 🚨
- src/helpers/getConfig.ts:
  rrd ~ else conditions: else clauses found (1) 🚨

🔍 Download Full Analysis Details

For any issues or feedback, feel free to report them here.

@rrd108 rrd108 merged commit 480b12c into main Oct 12, 2024
18 of 31 checks passed
@David-Pena David-Pena deleted the david/feature/400-releases-discord-bot branch October 16, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a bot to post releases on discord automatically
2 participants