summaryrefslogtreecommitdiffstats
path: root/services/pull
diff options
context:
space:
mode:
Diffstat (limited to 'services/pull')
-rw-r--r--services/pull/check.go3
-rw-r--r--services/pull/check_test.go3
-rw-r--r--services/pull/commit_status.go3
-rw-r--r--services/pull/edits.go3
-rw-r--r--services/pull/lfs.go3
-rw-r--r--services/pull/main_test.go3
-rw-r--r--services/pull/merge.go3
-rw-r--r--services/pull/patch.go3
-rw-r--r--services/pull/patch_unmerged.go3
-rw-r--r--services/pull/pull.go3
-rw-r--r--services/pull/pull_test.go3
-rw-r--r--services/pull/review.go3
-rw-r--r--services/pull/temp_repo.go3
-rw-r--r--services/pull/update.go3
14 files changed, 14 insertions, 28 deletions
diff --git a/services/pull/check.go b/services/pull/check.go
index faf3459f16..af8f2df0b6 100644
--- a/services/pull/check.go
+++ b/services/pull/check.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/check_test.go b/services/pull/check_test.go
index b4de02b5e2..590065250f 100644
--- a/services/pull/check_test.go
+++ b/services/pull/check_test.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/commit_status.go b/services/pull/commit_status.go
index 10692221a4..7e4db311d9 100644
--- a/services/pull/commit_status.go
+++ b/services/pull/commit_status.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/edits.go b/services/pull/edits.go
index 84f7c80da7..c7550dcb07 100644
--- a/services/pull/edits.go
+++ b/services/pull/edits.go
@@ -1,7 +1,6 @@
// Copyright 2022 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/lfs.go b/services/pull/lfs.go
index 8cca0a91b7..4b9826bedd 100644
--- a/services/pull/lfs.go
+++ b/services/pull/lfs.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/main_test.go b/services/pull/main_test.go
index 5471686e72..2014b19275 100644
--- a/services/pull/main_test.go
+++ b/services/pull/main_test.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/merge.go b/services/pull/merge.go
index b29c9bc859..afed98989b 100644
--- a/services/pull/merge.go
+++ b/services/pull/merge.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/patch.go b/services/pull/patch.go
index 1046095ff1..925f310a2c 100644
--- a/services/pull/patch.go
+++ b/services/pull/patch.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/patch_unmerged.go b/services/pull/patch_unmerged.go
index 3f1bb7d523..c60c48d923 100644
--- a/services/pull/patch_unmerged.go
+++ b/services/pull/patch_unmerged.go
@@ -1,7 +1,6 @@
// Copyright 2021 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/pull.go b/services/pull/pull.go
index e0dcefe141..ddb407b053 100644
--- a/services/pull/pull.go
+++ b/services/pull/pull.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/pull_test.go b/services/pull/pull_test.go
index 22eefd1624..cbbdccce9c 100644
--- a/services/pull/pull_test.go
+++ b/services/pull/pull_test.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/review.go b/services/pull/review.go
index 2555e1b3b3..1f2bc77e2c 100644
--- a/services/pull/review.go
+++ b/services/pull/review.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/temp_repo.go b/services/pull/temp_repo.go
index 9c04aa1c92..842719467f 100644
--- a/services/pull/temp_repo.go
+++ b/services/pull/temp_repo.go
@@ -1,7 +1,6 @@
// Copyright 2019 The Gitea Authors.
// All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull
diff --git a/services/pull/update.go b/services/pull/update.go
index 36e66bb7a9..6ff554e612 100644
--- a/services/pull/update.go
+++ b/services/pull/update.go
@@ -1,6 +1,5 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package pull