mirror of https://github.com/astral-sh/ruff
[ty] Correctly label typeshed-sync PRs (#18702)
## Summary Ref: https://github.com/astral-sh/ruff/pull/18679#issuecomment-2973593785 --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
d715c1fef8
commit
2f3bd24900
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
cd ruff
|
||||
git push --force origin typeshedbot/sync-typeshed
|
||||
gh pr list --repo "$GITHUB_REPOSITORY" --head typeshedbot/sync-typeshed --json id --jq length | grep 1 && exit 0 # exit if there is existing pr
|
||||
gh pr create --title "Sync vendored typeshed stubs" --body "Close and reopen this PR to trigger CI" --label "internal"
|
||||
gh pr create --title "[ty] Sync vendored typeshed stubs" --body "Close and reopen this PR to trigger CI" --label "ty"
|
||||
|
||||
create-issue-on-failure:
|
||||
name: Create an issue if the typeshed sync failed
|
||||
|
|
|
|||
Loading…
Reference in New Issue