You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/usage/issue-pull-request-templates.en-us.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,10 @@ menu:
19
19
20
20
Some projects have a standard list of questions that users need to answer
21
21
when creating an issue or pull request. Gitea supports adding templates to the
22
-
main branch of the repository so that they can autopopulate the form when users are
22
+
**default branch of the repository** so that they can autopopulate the form when users are
23
23
creating issues and pull requests. This will cut down on the initial back and forth
24
24
of getting some clarifying details.
25
+
It is currently not possible to provide generic issue/pull-request templates globally.
25
26
26
27
Additionally, the New Issue page URL can be suffixed with `?title=Issue+Title&body=Issue+Text` and the form will be populated with those strings. Those strings will be used instead of the template if there is one.
_, err:=db.GetEngine(ctx).Where("id=? AND status = ?", artifactID, ArtifactStatusUploadConfirmed).Cols("status").Update(&ActionArtifact{Status: int64(ArtifactStatusExpired)})
153
163
returnerr
154
164
}
165
+
166
+
// SetArtifactNeedDelete sets an artifact to need-delete, cron job will delete it
_, err:=db.GetEngine(ctx).Where("run_id=? AND artifact_name=? AND status = ?", runID, name, ArtifactStatusUploadConfirmed).Cols("status").Update(&ActionArtifact{Status: int64(ArtifactStatusPendingDeletion)})
0 commit comments