| 
						
						
						
					 | 
					 | 
					@ -1,14 +1,11 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					name: Create Pull Request
 | 
					 | 
					 | 
					 | 
					name: Create Pull Request
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					on: 
 | 
					 | 
					 | 
					 | 
					on:
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# TODO: currently workflow dispatch endpoint does not work. I will investigate
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  repository_dispatch:
 | 
					 | 
					 | 
					 | 
					  repository_dispatch:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    types: [create-pr]
 | 
					 | 
					 | 
					 | 
					    types: [create-pr]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  workflow_dispatch:
 | 
					 | 
					 | 
					 | 
					  workflow_dispatch:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					jobs:
 | 
					 | 
					 | 
					 | 
					jobs:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  build:
 | 
					 | 
					 | 
					 | 
					  create_pr:
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    name: Create Pull Request
 | 
					 | 
					 | 
					 | 
					    name: Create Pull Request
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    env:
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      REPOSITORY_NAME: 'go-versions'
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    runs-on: ubuntu-latest
 | 
					 | 
					 | 
					 | 
					    runs-on: ubuntu-latest
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    steps:
 | 
					 | 
					 | 
					 | 
					    steps:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - uses: actions/checkout@v2
 | 
					 | 
					 | 
					 | 
					    - uses: actions/checkout@v2
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -18,18 +15,16 @@ jobs:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Create versions-manifest.json
 | 
					 | 
					 | 
					 | 
					    - name: Create versions-manifest.json
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      shell: pwsh
 | 
					 | 
					 | 
					 | 
					      shell: pwsh
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: |
 | 
					 | 
					 | 
					 | 
					      run: |
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ./helpers/packages-generation/manifest-generator.ps1 -GitHubRepositoryOwner "${{github.repository_owner}}" `
 | 
					 | 
					 | 
					 | 
					        ./helpers/packages-generation/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                                             -GitHubRepositoryName "$env:REPOSITORY_NAME"`
 | 
					 | 
					 | 
					 | 
					                                                             -GitHubAccessToken "${{secrets.GITHUB_TOKEN}}" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                                             -GitHubAccessToken "${{secrets.GITHUB_TOKEN}}"`
 | 
					 | 
					 | 
					 | 
					                                                             -OutputFile "./versions-manifest.json" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                                             -OutputFile "./versions-manifest.json"`
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                                             -ConfigurationFile "./config/go-manifest-config.json"
 | 
					 | 
					 | 
					 | 
					                                                             -ConfigurationFile "./config/go-manifest-config.json"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    - name: Create GitHub PR
 | 
					 | 
					 | 
					 | 
					    - name: Create GitHub PR
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      shell: pwsh
 | 
					 | 
					 | 
					 | 
					      shell: pwsh
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      run: |
 | 
					 | 
					 | 
					 | 
					      run: |
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $formattedDate = Get-Date -Format "MM/dd/yyyy"
 | 
					 | 
					 | 
					 | 
					        $formattedDate = Get-Date -Format "MM/dd/yyyy"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ./helpers/github/create-pull-request.ps1 `
 | 
					 | 
					 | 
					 | 
					        ./helpers/github/create-pull-request.ps1 `
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            -RepositoryOwner "${{github.repository_owner}}" `
 | 
					 | 
					 | 
					 | 
					                            -RepositoryFullName "$env:GITHUB_REPOSITORY" `
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            -RepositoryName "$env:REPOSITORY_NAME" `
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            -AccessToken "${{secrets.GITHUB_TOKEN}}" `
 | 
					 | 
					 | 
					 | 
					                            -AccessToken "${{secrets.GITHUB_TOKEN}}" `
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            -BranchName "update-versions-manifest-file" `
 | 
					 | 
					 | 
					 | 
					                            -BranchName "update-versions-manifest-file" `
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                            -CommitMessage "Update versions-manifest" `
 | 
					 | 
					 | 
					 | 
					                            -CommitMessage "Update versions-manifest" `
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |