Skip to content

Add cooldown utility & apply it to tripsitme, prevent checkMoodle timer function from giving the 101 role back during TripSit sessions #462

Add cooldown utility & apply it to tripsitme, prevent checkMoodle timer function from giving the 101 role back during TripSit sessions

Add cooldown utility & apply it to tripsitme, prevent checkMoodle timer function from giving the 101 role back during TripSit sessions #462

Triggered via pull request October 3, 2024 17:40
Status Success
Total duration 3m 6s
Artifacts 1

PullRequestOpenAll.yml

on: pull_request
Matrix: CodeQL
Fit to window
Zoom out
Zoom in

Annotations

15 warnings
CodeQL (javascript)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CodeQL (javascript)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
CodeQL (javascript)
1 issue was detected with this workflow: Please specify an on.push hook to analyze and see code scanning alerts from the default branch on the Security tab.
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint: src/discord/commands/global/d.combo.ts#L48
This line has a length of 125. Maximum allowed is 120
Lint: src/discord/commands/global/d.mushroom_info.ts#L18
This line has a length of 154. Maximum allowed is 120
Lint: src/discord/commands/global/d.mushroom_info.ts#L19
This line has a length of 331. Maximum allowed is 120
Lint: src/discord/commands/global/d.reactionRole.ts#L208
Refactor this function to reduce its Cognitive Complexity from 55 to the 50 allowed
Lint: src/discord/commands/global/d.tripsitmode.ts#L43
Refactor this function to reduce its Cognitive Complexity from 51 to the 50 allowed
Lint: src/discord/commands/guild/d.admin.ts#L82
Unexpected console statement
Lint: src/discord/commands/guild/d.admin.ts#L86
Unexpected console statement
Lint: src/discord/commands/guild/d.admin.ts#L106
Unexpected console statement
Lint: src/discord/commands/guild/d.admin.ts#L110
Unexpected console statement
Lint: src/discord/commands/guild/d.admin.ts#L195
This line has a length of 134. Maximum allowed is 120
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "debug-artifacts-javascript". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
debug-artifacts-javascript Expired
61 MB