File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # # -----------------------------------------------------------------------------
2+ #  Copyright (c) Microsoft Corporation. All rights reserved.
3+ #  Licensed under the MIT License. See LICENSE.txt in the project root for license information.
4+ # # -----------------------------------------------------------------------------
5+ # 
6+ #  Summary:
7+ #  This GitHub Actions workflow automates the release process using Release Please.
8+ #  It triggers on pushes to the main branch, generates a GitHub App token using organization
9+ #  variables and secrets, and then runs the release-please-action to manage versioning and changelogs.
10+ 
11+ name : Release Please 
12+ 
13+ on :
14+   push :
15+     branches :
16+       - main 
17+ 
18+ jobs :
19+   release :
20+     runs-on : ubuntu-latest 
21+     steps :
22+       - uses : actions/checkout@v4 
23+ 
24+       - name : Generate GitHub App token 
25+         id : app-token 
26+         uses : actions/create-github-app-token@v2 
27+         with :
28+           app-id : ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }} 
29+           private-key : ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }} 
30+ 
31+       - name : Release Please 
32+         uses : googleapis/release-please-action@v4 
33+         with :
34+           token : ${{ steps.app-token.outputs.token }} 
35+           config-file : release-please-config.json 
36+           manifest-file : .release-please-manifest.json 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments