Skip to content

Commit

Permalink
enhance(play): create flag with "needs triage" label (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Oct 16, 2024
1 parent 9a5df54 commit e3cf55f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/play.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ pub async fn create_flag_issue(
.map(|p| p.flag_repo.as_str())
.ok_or(PlaygroundError::SettingsError)?;
let issues = client.issues("mdn", repo);
let mut issue = issues.create(format!("flag-{gist_id}"));
let mut issue = issues
.create(format!("flag-{gist_id}"))
.labels(Some(vec![String::from("needs triage")]));
if let Some(reason) = reason {
issue = issue.body(&format!(
"url: {}/en-US/play?id={}\n{reason}",
Expand Down

0 comments on commit e3cf55f

Please sign in to comment.