File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1616  sync-branches :
1717    runs-on : ubuntu-latest 
1818    steps :
19+       - name : Generate access token 
20+         id : generate-token 
21+         uses : actions/create-github-app-token@v2 
22+         with :
23+           app-id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }} 
24+           private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }} 
25+     
1926      - name : Checkout repository 
2027        uses : actions/checkout@v4 
2128        with :
4148              --body "Merge \`$HEAD\` into \`$BASE\`." 
4249          done 
4350env :
44-           GH_TOKEN : ${{ github .token }} 
51+           GH_TOKEN : ${{ steps.generate-token.outputs .token }} 
4552          HEAD : dev 
Original file line number Diff line number Diff line change 1616  sync-branch :
1717    runs-on : ubuntu-latest 
1818    steps :
19+       - name : Generate access token 
20+         id : generate-token 
21+         uses : actions/create-github-app-token@v2 
22+         with :
23+           app-id : ${{ secrets.OAI_SPEC_PUBLISHER_APPID }} 
24+           private-key : ${{ secrets.OAI_SPEC_PUBLISHER_PRIVATE_KEY }} 
25+ 
1926      - name : Checkout repository 
2027        uses : actions/checkout@v4 
2128
3542            --title "$BASE: update from $HEAD" \ 
3643            --body "Merge \`$HEAD\` into \`$BASE\`." 
3744env :
38-           GH_TOKEN : ${{ github .token }} 
45+           GH_TOKEN : ${{ steps.generate-token.outputs .token }} 
3946          HEAD : main 
4047          BASE : dev 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments