[BRANDING] reserve forgejo-actions username
(cherry picked from commit2a25be788b) (cherry picked from commitb270d5815c) (cherry picked from commite7382cc71e) (cherry picked from commit665400ea1e) (cherry picked from commitf5b2c691f1) (cherry picked from commit3df97adfef) (cherry picked from commit494f6eafc1) (cherry picked from commit822e3d2c83) (cherry picked from commit7460f12568) (cherry picked from commitf6cd70881e) (cherry picked from commitc669ce8173)
This commit is contained in:
		
							parent
							
								
									0274bd8860
								
							
						
					
					
						commit
						1d5a433e02
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -549,6 +549,7 @@ var (
 | 
			
		|||
		"user",
 | 
			
		||||
		"v2",
 | 
			
		||||
		"gitea-actions",
 | 
			
		||||
		"forgejo-actions",
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// DON'T ADD ANY NEW STUFF, WE SOLVE THIS WITH `/user/{obj}` PATHS!
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,9 +37,9 @@ func NewReplaceUser(name string) *User {
 | 
			
		|||
 | 
			
		||||
const (
 | 
			
		||||
	ActionsUserID   = -2
 | 
			
		||||
	ActionsUserName = "gitea-actions"
 | 
			
		||||
	ActionsFullName = "Gitea Actions"
 | 
			
		||||
	ActionsEmail    = "teabot@gitea.io"
 | 
			
		||||
	ActionsUserName = "forgejo-actions"
 | 
			
		||||
	ActionsFullName = "Forgejo Actions"
 | 
			
		||||
	ActionsEmail    = "noreply@forgejo.org"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// NewActionsUser creates and returns a fake user for running the actions.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue