Skip to content

Commit

Permalink
fix: worflow name
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Oct 3, 2024
1 parent 2992460 commit eefc171
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-submit-agent.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Auto Submit
name: Auto Submit Agent

on:
issues:
Expand All @@ -17,7 +17,7 @@ jobs:
- name: Install deps
run: bun i

- name: Auto submit
- name: Auto submit agent
run: bun run submitAgent
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
8 changes: 2 additions & 6 deletions scripts/submit/dance.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import { Octokit } from "@octokit/rest";
import { consola } from "consola";
import "dotenv/config";
import { kebabCase } from "lodash-es";
import { execSync } from "node:child_process";
import { existsSync } from "node:fs";
import { resolve } from "node:path";

import { formatDanceSchema } from "../check";
import { dancesDir, githubHomepage } from "../const";
import { checkHeader, writeJSON } from "../utils";
import { dancesDir } from "../const";
import { AutoSubmitBase } from "./AutoSubmitBase";

class AutoSubmitDance extends AutoSubmitBase {
Expand Down Expand Up @@ -43,7 +39,7 @@ class AutoSubmitDance extends AutoSubmitBase {
[
comment,
`[@${dance.author}](${dance.homepage}) (resolve #${this.issueNumber})`,
].join("\n")
].join("\n"),
);
consola.success("Create PR");

Expand Down

0 comments on commit eefc171

Please sign in to comment.