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

Fix/discord image #84

Closed
wants to merge 2 commits into from
Closed

Fix/discord image #84

wants to merge 2 commits into from

Conversation

charlottewiltshire0
Copy link
Collaborator

PR Content:

Copy link

sonarqubecloud bot commented Feb 9, 2025

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR updates image formats, CI workflow configurations, and labeler settings across the Redot Engine website repository.

  • Changed Discord invite image from PNG to WebP format in /constants/socials.tsx for improved performance
  • Hardcoded sensitive environment variables in /.github/workflows/ci.yml which could pose security concerns
  • Added feature branch auto-labeling in /.github/labeler.yml for branches starting with or matching 'feature'
  • Simplified translation path syntax in labeler configuration for better maintainability

3 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines +51 to +53
NEXT_PUBLIC_SANITY_PROJECT_ID: qqvmmpgb
NEXT_PUBLIC_SANITY_DATASET: test
NEXT_PUBLIC_BASE_URL: https://www.redotengine.org
Copy link
Contributor

Choose a reason for hiding this comment

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

logic: Hardcoding sensitive configuration values like Sanity credentials directly in the workflow file is a security risk. These should remain as secrets to allow for proper environment management and security.

Suggested change
NEXT_PUBLIC_SANITY_PROJECT_ID: qqvmmpgb
NEXT_PUBLIC_SANITY_DATASET: test
NEXT_PUBLIC_BASE_URL: https://www.redotengine.org
NEXT_PUBLIC_SANITY_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_SANITY_PROJECT_ID }}
NEXT_PUBLIC_SANITY_DATASET: ${{ secrets.NEXT_PUBLIC_SANITY_DATASET }}
NEXT_PUBLIC_BASE_URL: ${{ secrets.NEXT_PUBLIC_BASE_URL }}

@@ -1,4 +1,6 @@
# See https://github.com/actions/labeler

translation:
- locales/**
translation: locales/**
Copy link
Contributor

Choose a reason for hiding this comment

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

style: The translation path syntax was simplified from array to direct path format. Both work, but be consistent across the config.

@charlottewiltshire0 charlottewiltshire0 deleted the fix/discord-image branch February 10, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant