You've already forked woodpecker
							
							
				mirror of
				https://github.com/woodpecker-ci/woodpecker.git
				synced 2025-10-30 23:27:39 +02:00 
			
		
		
		
	Use editorconfig-checker (#982)
This commit is contained in:
		
							
								
								
									
										14
									
								
								.ecrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.ecrc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| { | ||||
|   "Exclude": [ | ||||
|     ".git", | ||||
|     "go.mod", "go.sum", | ||||
|     "vendor", | ||||
|     "fixtures", | ||||
|     "LICENSE", | ||||
|     "node_modules", | ||||
|     "server/store/datastore/migration/testfiles/sqlite.db", | ||||
|     "server/store/datastore/feed.go", | ||||
|     "_test.go", | ||||
|     "Makefile" | ||||
|   ] | ||||
| } | ||||
| @@ -14,6 +14,7 @@ indent_style = tab | ||||
|  | ||||
| [*.md] | ||||
| trim_trailing_whitespace = false | ||||
| indent_size = 1 | ||||
|  | ||||
| [Makefile] | ||||
| indent_style = tab | ||||
|   | ||||
| @@ -52,6 +52,10 @@ pipeline: | ||||
|         - "**/*.go" | ||||
|         - "go.*" | ||||
|  | ||||
|   lint-editorconfig: | ||||
|     image: mstruebing/editorconfig-checker | ||||
|     group: test | ||||
|  | ||||
|   test: | ||||
|     image: golang:1.18 | ||||
|     group: test | ||||
|   | ||||
| @@ -60,6 +60,7 @@ Some versions need some changes to the server configuration or the pipeline conf | ||||
|   - `drone.sqlite` -> `woodpecker.sqlite` | ||||
|  | ||||
| - Plugin Settings moved into `settings` section: | ||||
|  | ||||
|   ```diff | ||||
|    pipline: | ||||
|    something: | ||||
|   | ||||
| @@ -33,4 +33,3 @@ You should not use `sess.Begin()`, `sess.Commit()` or `sess.Close()` inside a mi | ||||
| ::: | ||||
|  | ||||
| To automatically execute the migration after the start of the server, the new migration needs to be added to the end of `migrationTasks` in `server/store/datastore/migration/migration.go`. After a successful execution of that transaction the server will automatically add the migration to a list, so it won't be executed again on the next start. | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user