-
Notifications
You must be signed in to change notification settings - Fork 7
chore: disable codspeed in op-reth #220
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
Conversation
6055746 to
2c45b63
Compare
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.
Pull Request Overview
This PR disables CodSpeed benchmark uploads when the CODSPEED_TOKEN secret is not available, preventing workflow failures in the op-reth repository.
- Adds conditional execution to the CodSpeed action based on token availability
- Includes environment variable setup for the CODSPEED_TOKEN
- Adds explanatory comment about op-reth lacking a CodSpeed token
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| env: | ||
| CODSPEED_TOKEN: ${{ secrets.CODSPEED_TOKEN }} | ||
| # op-reth does not have a codspeed token | ||
| if: ${{ env.CODSPEED_TOKEN != '' }} |
Copilot
AI
Oct 13, 2025
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.
The condition should check for null/undefined values in addition to empty strings. Use if: ${{ secrets.CODSPEED_TOKEN != '' }} instead to directly reference the secret, or use if: ${{ env.CODSPEED_TOKEN }} which evaluates to false for null, undefined, or empty values.
| if: ${{ env.CODSPEED_TOKEN != '' }} | |
| if: ${{ secrets.CODSPEED_TOKEN != '' }} |
No token, so this check always fails annoyingly. Disabling the upload step if missing token.
No token, so this check always fails annoyingly. Disabling the upload step if missing token.
No token, so this check always fails annoyingly. Disabling the upload step if missing token.
No token, so this check always fails annoyingly. Disabling the upload step if missing token.
No token, so this check always fails annoyingly. Disabling the upload step if missing token.
No token, so this check always fails annoyingly. Disabling the upload step if missing token.
No token, so this check always fails annoyingly. Disabling the upload step if missing token.