mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-09-22 10:56:50 +00:00
chore(ci): label FTC-closed PRs as needs-issue (#7249)
This commit is contained in:
15
.github/workflows/ftc-require-issue.yml
vendored
15
.github/workflows/ftc-require-issue.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: read
|
||||
issues: write
|
||||
|
||||
concurrency:
|
||||
group: ftc-require-issue-${{ github.event.pull_request.number }}
|
||||
@@ -114,6 +114,19 @@ jobs:
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
subprocess.run(
|
||||
[
|
||||
"gh",
|
||||
"pr",
|
||||
"edit",
|
||||
pr_number,
|
||||
"--repo",
|
||||
repo,
|
||||
"--add-label",
|
||||
"needs-issue",
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
subprocess.run(
|
||||
["gh", "pr", "close", pr_number, "--repo", repo],
|
||||
check=True,
|
||||
|
||||
Reference in New Issue
Block a user