-
Notifications
You must be signed in to change notification settings - Fork 0
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
Linting and specs #3
Conversation
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
9774313 | Triggered | Generic Password | 4978774 | .github/workflows/test.yml | View secret |
9774313 | Triggered | Generic Password | 4978774 | .github/workflows/test.yml | View secret |
9774313 | Triggered | Generic Password | 4978774 | .github/workflows/test.yml | View secret |
9774313 | Triggered | Generic Password | 4978774 | .github/workflows/test.yml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, run: bundle exec rubocop -A
to autocorrect all the files with rubocop and check with bundle exec rubocop -P
if you need to correct something manually and do it too.
There is an error in the test CI. Please check it too. It seems the repo doesn't have a schema.rb
file
I believe this is finally ready |
* initial commit * add figaro * add passsenger * Linting and specs (#3) * Added .github/workflow file for CI * Lint ERB files with erblint * Lint SCSS files with stylelint * Add i18n spec * Lint JS files with eslint * Lint MarkDown files with mdl * Default local to :ca * Rubocop automatic fixes * db:migrate to create db/schema.rb * Revert "Default local to :ca" This reverts commit 00532b0. * Run Rubocop * Rubocop corrections * Restored db/migrate files to before rubocop fixes * Remove config/deploy symlink and fix .gitignore * Initial cleanup (#4) * Add GH CI result to README.md * Ignore .rspec-failures * i18n spec file * homepage and other spec files * Remove test directory * Fix README rubocop suggestion * i18n_spec to english * default locale to :ca, edit en.yml * Platoniq and EU logos in footer * More spec files to go with the new footer * Edited expected checksum in overrides_spec.rb * remove eu logo * public.sw.js* in .gitignor * Remove cached ublic/sw.js* files * correct platoniq footer spec * Remove lingering EU footer files * default locale to :en to be overwritten with env variable * Add decidim awesome (#5) * Add GH CI result to README.md * Ignore .rspec-failures * i18n spec file * homepage and other spec files * Remove test directory * Fix README rubocop suggestion * i18n_spec to english * default locale to :ca, edit en.yml * Platoniq and EU logos in footer * More spec files to go with the new footer * Edited expected checksum in overrides_spec.rb * Add decidim awesome * db:migrate for rspec failing * add decidim awesome to gemfile and run webpack install for decidim awesome * decidim_awesome spec file * update decidim dev packages to correct version * remove eu-logo.png * default locale to :en * remove eu.en.yml * Remove cached public/sw.js* files * remove eu_footer_spec.rb * Add decidim awesome factories --------- Co-authored-by: Fran Bolívar <[email protected]> * Update README.md * Move .erb-lint.yml --------- Co-authored-by: David Igón <[email protected]> Co-authored-by: Harrison Hassig <[email protected]>
This should be a much cleaner and organized version of the other branch. I left the other branch for reference, can be deleted.
Only think (i believe) left to do is "Lint ruby files" https://github.com/Platoniq/decidim-b4m/commit/6fbc9c165a2160deef5d2cf59e3de30f1ca9d1e7