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

Align #67

Merged
merged 101 commits into from
Jun 9, 2024
Merged

Align #67

merged 101 commits into from
Jun 9, 2024

Conversation

SanHacks
Copy link
Owner

@SanHacks SanHacks commented Jun 9, 2024

No description provided.

SanHacks and others added 30 commits August 27, 2023 00:34
Upgrade Platform Framework
…eather with fine tune , functionality can be expanded to suit required needs
SanHacks and others added 22 commits January 27, 2024 20:32
…s/upload-pages-artifact-3

Bump actions/upload-pages-artifact from 2 to 3
Bumps [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](slsa-framework/slsa-github-generator@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: slsa-framework/slsa-github-generator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
…ramework/slsa-github-generator-1.10.0

Bump slsa-framework/slsa-github-generator from 1.9.0 to 1.10.0
Signed-off-by: Gundo Sifhufhi <sifhufhisg@gmail.com>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](golang/net@v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/super-linter](https://github.com/github/super-linter) from 4 to 6.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md)
- [Commits](github/super-linter@v4...v6)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [codacy/codacy-analysis-cli-action](https://github.com/codacy/codacy-analysis-cli-action) from 1.1.0 to 4.4.1.
- [Release notes](https://github.com/codacy/codacy-analysis-cli-action/releases)
- [Commits](codacy/codacy-analysis-cli-action@d840f88...3ff8e64)

---
updated-dependencies:
- dependency-name: codacy/codacy-analysis-cli-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…/codacy-analysis-cli-action-4.4.1

Bump codacy/codacy-analysis-cli-action from 1.1.0 to 4.4.1
echo "Android"
# install sound library
sudo apt-get install libasound2-dev
elif [ "$OSTYPE" == "darwin"* ]; then

Check warning

Code scanning / Shellcheck (reported by Codacy)

[ .. ] can't match globs. Use [[ .. ]] or case statement. Warning

[ .. ] can't match globs. Use [[ .. ]] or case statement.
@@ -1,24 +1,27 @@
#!/bin/bash
!/bin/bash

Check warning

Code scanning / Shellcheck (reported by Codacy)

Use #!, not just !, for the shebang. Warning

Use #!, not just !, for the shebang.
label:

runs-on: ubuntu-latest
permissions:

Check notice

Code scanning / Checkov (reported by Codacy)

Ensure top-level permissions are not set to write-all Note

Ensure top-level permissions are not set to write-all
@@ -0,0 +1,29 @@
# This workflow executes several linters on changed files based on languages used in your code base whenever

Check notice

Code scanning / Checkov (reported by Codacy)

Ensure top-level permissions are not set to write-all Note

Ensure top-level permissions are not set to write-all
stale:

runs-on: ubuntu-latest
permissions:

Check notice

Code scanning / Checkov (reported by Codacy)

Ensure top-level permissions are not set to write-all Note

Ensure top-level permissions are not set to write-all
timestamp := time.Now().Format("2006-01-02-15-04-05")
timestamp = strings.ReplaceAll(timestamp, "-", "")
randomString += timestamp
err = ioutil.WriteFile(audioPath+randomString+format, body, 0644)

Check warning

Code scanning / Semgrep (reported by Codacy)

The application was found setting file permissions to overly permissive values. Warning

The application was found setting file permissions to overly permissive values.
@@ -19,3 +19,27 @@
Password string
Token string
}

type twitterContent struct {

Check notice

Code scanning / Deadcode (reported by Codacy)

twitterContent is unused Note

twitterContent is unused
strings.Contains(message, "Generate") || strings.Contains(message, "Generate Image")
}

func triggerProgramRun(message string) bool {

Check notice

Code scanning / Deadcode (reported by Codacy)

triggerProgramRun is unused Note

triggerProgramRun is unused

fmt.Println("Both scripts have finished running.")
// RunProgram
func RunProgram(command string) bool {

Check notice

Code scanning / Deadcode (reported by Codacy)

RunProgram is unused Note

RunProgram is unused
}

// TODO:: Function to delete messages from database or just change the content to "Message Deleted"
func removeMessage(sender string, content string) error {

Check notice

Code scanning / Deadcode (reported by Codacy)

removeMessage is unused Note

removeMessage is unused
@@ -2,7 +2,7 @@

import "fyne.io/fyne/v2"

var windowSize = fyne.NewSize(960, 540)
var windowSize = fyne.NewSize(1200, 1200)

Check notice

Code scanning / Deadcode (reported by Codacy)

windowSize is unused Note

windowSize is unused
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revive (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

SanHacks added 2 commits June 9, 2024 04:52
…/super-linter-6

Bump github/super-linter from 4 to 6
…/x/net-0.23.0

Bump golang.org/x/net from 0.17.0 to 0.23.0
@SanHacks SanHacks merged commit 34af913 into SanHacks-patch-1 Jun 9, 2024
5 of 6 checks passed
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.

2 participants