File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 6363        working-directory : ${{ runner.temp }}/artifacts 
6464        run : unzip patch.zip 
6565
66+       - uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e  #  v2.0.6
67+         if : steps.download-patch.outputs.exists == 'true' 
68+         id : otelbot-token 
69+         with :
70+           app-id : 1295839 
71+           private-key : ${{ secrets.OTELBOT_JAVA_CONTRIB_PRIVATE_KEY }} 
72+ 
6673      - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  #  v4.2.2
6774        if : steps.download-patch.outputs.exists == 'true' 
75+         with :
76+           token : ${{ steps.otelbot-token.outputs.token }} 
6877
6978      - name : Check out PR branch 
7079        if : steps.download-patch.outputs.exists == 'true' 
8089          git config user.name otelbot 
8190          git config user.email [email protected]  8291
83- uses : actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e  #  v2.0.6
84-         if : steps.download-patch.outputs.exists == 'true' 
85-         id : otelbot-token 
86-         with :
87-           app-id : ${{ vars.OTELBOT_APP_ID }} 
88-           private-key : ${{ secrets.OTELBOT_PRIVATE_KEY }} 
89- 
9092name : Apply patch and push 
9193        if : steps.download-patch.outputs.exists == 'true' 
92-         env :
93-           GH_TOKEN : ${{ steps.otelbot-token.outputs.token }} 
9494        run : | 
9595          git apply "${{ runner.temp }}/artifacts/patch" 
9696          git commit -a -m "./gradlew spotlessApply" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments