- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1k
 
Add spotless auto-fix for PRs #13872
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
Add spotless auto-fix for PRs #13872
Conversation
cfcb00c    to
    7d32550      
    Compare
  
    7d32550    to
    e27afad      
    Compare
  
    b9dbb65    to
    ebfe4f0      
    Compare
  
    ebfe4f0    to
    9e0ba88      
    Compare
  
    | - name: Use CLA approved github bot | ||
| if: steps.download-patch.outputs.exists == 'true' | ||
| # IMPORTANT do not call the .github/scripts/use-cla-approved-bot.sh | ||
| # since that script could have been compromised in the PR branch | 
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.
just curious, would running the script be ok if it happened before gh pr checkout?
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.
it's ok, it just needs to be after actions/checkout above. gh pr checkout is just doing a branch checkout.
747a6a6    to
    df211f1      
    Compare
  
    | 
           ok, let's give it a spin...  | 
    
Finally a safe way to auto-fix PRs, thanks @svrnm!! open-telemetry/opentelemetry.io#6894
This will automatically update PRs with spotlessApply if needed.
UPDATE: still not safe per CodeQL warnings below! working through the warnings to see if we can still make this happen...