mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 19:23:36 +00:00 
			
		
		
		
	Update workflow and README to use github-actions[bot] user
By setting user.email to the official github-actions[bot] email, action commits show the octocat icon with a hyperlink to https://github.com/apps/github-actions, the same way a normal user's commit shows their profile picture and links to their GitHub page. The user.name is not important, but updated to github-actions[bot] as well for consistency.
This commit is contained in:
		
							parent
							
								
									cd7d8d697e
								
							
						
					
					
						commit
						edb45646dd
					
				
							
								
								
									
										4
									
								
								.github/workflows/update-main-version.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/update-main-version.yml
									
									
									
									
										vendored
									
									
								
							| @ -27,8 +27,8 @@ jobs: | ||||
|         fetch-depth: 0 | ||||
|     - name: Git config | ||||
|       run: | | ||||
|         git config user.name github-actions | ||||
|         git config user.email github-actions@github.com | ||||
|         git config user.name github-actions[bot] | ||||
|         git config user.email github-actions[bot]@users.noreply.github.com | ||||
|     - name: Tag new target | ||||
|       run: git tag -f ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }} | ||||
|     - name: Push new tag | ||||
|  | ||||
| @ -274,8 +274,8 @@ jobs: | ||||
|       - uses: actions/checkout@v4 | ||||
|       - run: | | ||||
|           date > generated.txt | ||||
|           git config user.name github-actions | ||||
|           git config user.email github-actions@github.com | ||||
|           git config user.name github-actions[bot] | ||||
|           git config user.email github-actions[bot]@users.noreply.github.com | ||||
|           git add . | ||||
|           git commit -m "generated" | ||||
|           git push | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user