mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 02:46:04 +01:00 
			
		
		
		
	Fix actions skipped commit status indicator (#34507)
Addresses https://github.com/go-gitea/gitea/issues/34500 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -6,7 +6,7 @@ import {fomanticQuery} from '../modules/fomantic/base.ts'; | ||||
|  | ||||
| const {appSubUrl, assetUrlPrefix, pageData} = window.config; | ||||
|  | ||||
| type CommitStatus = 'pending' | 'success' | 'error' | 'failure' | 'warning'; | ||||
| type CommitStatus = 'pending' | 'success' | 'error' | 'failure' | 'warning' | 'skipped'; | ||||
|  | ||||
| type CommitStatusMap = { | ||||
|   [status in CommitStatus]: { | ||||
| @@ -22,6 +22,7 @@ const commitStatus: CommitStatusMap = { | ||||
|   error: {name: 'gitea-exclamation', color: 'red'}, | ||||
|   failure: {name: 'octicon-x', color: 'red'}, | ||||
|   warning: {name: 'gitea-exclamation', color: 'yellow'}, | ||||
|   skipped: {name: 'octicon-skip', color: 'grey'}, | ||||
| }; | ||||
|  | ||||
| export default defineComponent({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user