mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-12 20:15:46 +00:00
Merge branch 'main' into add-nomhoy-v3
This commit is contained in:
2 files changed
+13
-11
No files matched your search
@@ -135,17 +135,7 @@ jobs:
|
||||
name: label
|
||||
});
|
||||
} catch (error) {
|
||||
if (error.status === 404) {
|
||||
await github.rest.issues.createLabel({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
name: label,
|
||||
color: "D93F0B",
|
||||
description: "Your PR template is not complete. (e.g. missing the requirements form, missing website preview)"
|
||||
});
|
||||
} else {
|
||||
throw error;
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
|
||||
const labels = await github.rest.issues.listLabelsOnIssue({
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
name: Update PR Branches
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
paths:
|
||||
- "tests/*"
|
||||
- ".github/workflows/ci.yml"
|
||||
- ".github/workflows/pr.yml"
|
||||
- "util/check-pr-template.cjs"
|
||||
- "util/disallowed-cnames.json"
|
||||
- "util/internal.json"
|
||||
- "util/reserved.json"
|
||||
- "util/trusted.json"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in new issue
Block a user