]> source.dussan.org Git - gitea.git/commitdiff
Fix more yaml lint errors (#27284) (#27288)
authorGiteabot <teabot@gitea.io>
Tue, 26 Sep 2023 17:00:12 +0000 (01:00 +0800)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2023 17:00:12 +0000 (19:00 +0200)
Backport #27284 by @lunny

Fix #27268

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
15 files changed:
.yamllint.yaml
models/fixtures/access.yml
models/fixtures/access_token.yml
models/fixtures/commit_status_index.yml
models/fixtures/public_key.yml
models/fixtures/pull_request.yml
models/fixtures/reaction.yml
models/fixtures/review.yml
models/fixtures/team_repo.yml
models/fixtures/team_user.yml
models/fixtures/watch.yml
models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/issue_label.yml
models/migrations/fixtures/Test_DeleteOrphanedIssueLabels/label.yml
models/migrations/fixtures/Test_RemoveInvalidLabels/label.yml
models/migrations/fixtures/Test_StoreWebauthnCredentialIDAsBytes/webauthn_credential.yml

index c0fce7c301f82f580d03a0e6b9208bd8d0878a68..7f0517fb7eb15a7deb37e65f2112b30647c853f6 100644 (file)
@@ -44,5 +44,3 @@ rules:
 ignore: |
   .venv
   node_modules
-  /models/fixtures
-  /models/migrations/fixtures
index 446502843ef488925e51bff275783913915ea7d3..1bb6a9a8acc7c17a5cd9ab24e0ed838118e42dc9 100644 (file)
   user_id: 31
   repo_id: 28
   mode: 4
-
index 791b3da1c459f156a57bc73fd592d14c101e60df..0744255f6645a6ba0c58b2160697eb8f75f7edfc 100644 (file)
@@ -2,7 +2,7 @@
   id: 1
   uid: 1
   name: Token A
-  #token: d2c6c1ba3890b309189a8e618c72a162e4efbf36
+  # token: d2c6c1ba3890b309189a8e618c72a162e4efbf36
   token_hash: 2b3668e11cb82d3af8c6e4524fc7841297668f5008d1626f0ad3417e9fa39af84c268248b78c481daa7e5dc437784003494f
   token_salt: QuSiZr1byZ
   token_last_eight: e4efbf36
@@ -13,7 +13,7 @@
   id: 2
   uid: 1
   name: Token B
-  #token: 4c6f36e6cf498e2a448662f915d932c09c5a146c
+  # token: 4c6f36e6cf498e2a448662f915d932c09c5a146c
   token_hash: 1a0e32a231ebbd582dc626c1543a42d3c63d4fa76c07c72862721467c55e8f81c923d60700f0528b5f5f443f055559d3a279
   token_salt: Lfwopukrq5
   token_last_eight: 9c5a146c
   id: 3
   uid: 2
   name: Token A
-  #token: 90a18faa671dc43924b795806ffe4fd169d28c91
+  # token: 90a18faa671dc43924b795806ffe4fd169d28c91
   token_hash: d6d404048048812d9e911d93aefbe94fc768d4876fdf75e3bef0bdc67828e0af422846d3056f2f25ec35c51dc92075685ec5
   token_salt: 99ArgXKlQQ
   token_last_eight: 69d28c91
   created_unix: 946687980
   updated_unix: 946687980
-#commented out tokens so you can see what they are in plaintext
+  # commented out tokens so you can see what they are in plaintext
index 3f252e87ef092fccd45fcced920c71c9480c84d3..f63343b042a3036c87cf9ce624948401708bae4c 100644 (file)
@@ -2,4 +2,4 @@
   id: 1
   repo_id: 1
   sha: "1234123412341234123412341234123412341234"
-  max_index: 5
\ No newline at end of file
+  max_index: 5
index 08f5c349a7b3d49b02dbd65dd0b780f89f894350..ae620ee2d19da78633163466954463a88f9a7c08 100644 (file)
@@ -8,4 +8,4 @@
   type: 1
   created_unix: 1559593109
   updated_unix: 1565224552
-  login_source_id: 0
\ No newline at end of file
+  login_source_id: 0
index 396bdba88cbc512b211f340d06667994db9776f1..560674c370b81545d6fdac5380e15ae93091a237 100644 (file)
@@ -97,4 +97,4 @@
   issue_id: 20
   index: 1
   head_repo_id: 23
-  base_repo_id: 23
\ No newline at end of file
+  base_repo_id: 23
index 4925935fe6fe60771f318c1ab47de3f3c86f6bdd..ee571a73a485e5c49ad7d33b5c9f1988ee94861f 100644 (file)
@@ -1,5 +1,5 @@
 -
-  id: 1 #issue reaction
+  id: 1 # issue reaction
   type: zzz # not allowed reaction (added before allowed reaction list has changed)
   issue_id: 1
   comment_id: 0
@@ -7,7 +7,7 @@
   created_unix: 1573248001
 
 -
-  id: 2 #issue reaction
+  id: 2 # issue reaction
   type: zzz # not allowed reaction (added before allowed reaction list has changed)
   issue_id: 1
   comment_id: 0
@@ -15,7 +15,7 @@
   created_unix: 1573248002
 
 -
-  id: 3 #issue reaction
+  id: 3 # issue reaction
   type: eyes # allowed reaction
   issue_id: 1
   comment_id: 0
@@ -23,7 +23,7 @@
   created_unix: 1573248003
 
 -
-  id: 4 #comment reaction
+  id: 4 # comment reaction
   type: laugh # allowed reaction
   issue_id: 1
   comment_id: 2
@@ -31,7 +31,7 @@
   created_unix: 1573248004
 
 -
-  id: 5 #comment reaction
+  id: 5 # comment reaction
   type: laugh # allowed reaction
   issue_id: 1
   comment_id: 2
index f964c6ac06412896813ed0de0567f3ef1446efcb..7a8808006849c903b839d972c17f041f8e2b9180 100644 (file)
   updated_unix: 946684831
   created_unix: 946684831
 
-- 
+-
   id: 16
   type: 4
   reviewer_id: 20
   updated_unix: 946684832
   created_unix: 946684832
 
-- 
+-
   id: 17
   type: 1
   reviewer_id: 20
   content: "review approved by user20"
   updated_unix: 946684833
   created_unix: 946684833
-- 
+
+-
   id: 18
   type: 4
   reviewer_id: 0
-  reviewer_team_id: 5 
+  reviewer_team_id: 5
   issue_id: 20
   content: "review request for team5"
   updated_unix: 946684834
   content: "review request for user15"
   updated_unix: 946684835
   created_unix: 946684835
-
index a523a90b204d25068729cdef34390657d1a8cf18..8497720892f49dbc089f2c472589eb82d7feec8e 100644 (file)
@@ -62,4 +62,4 @@
   id: 11
   org_id: 17
   team_id: 9
-  repo_id: 24
\ No newline at end of file
+  repo_id: 24
index a5f1e9fd92aaf56b637daa02dabf6a8d07b6f1ed..9142fe609ad76ef0d3bea08cc7568bd89d0dd547 100644 (file)
   team_id: 20
   uid: 5
 
-- 
+-
   id: 22
   org_id: 17
   team_id: 9
index c29f6bb65a8898d374e33aebaba6c2598ed94460..1950ac99e7f9c19e68bbf02845cee9a3b3986e9f 100644 (file)
@@ -26,4 +26,4 @@
   id: 5
   user_id: 11
   repo_id: 1
-  mode: 3 # auto 
+  mode: 3 # auto
index d651c87d5b0d60a8c7939c0f20e737bf34a111a5..fa9658aa02aebcfd8e1458192a7b0eecf485f727 100644 (file)
@@ -18,7 +18,7 @@
 -
   id: 3
   repo_id: 0
-  org_id:  3
+  org_id: 3
   name: orglabel3
   color: '#abcdef'
   num_issues: 0
index 094b811d914e44a1c2a385c5a0fe451bf23ac3db..0f5a3eb50722aff7656c0615a941994926158f7a 100644 (file)
@@ -23,4 +23,3 @@
   id: 5
   repo_id: 3
   org_id: 0
-