From a79a573e308744afaa5f8b10b4de930e4d8ce332 Mon Sep 17 00:00:00 2001 From: hustcer Date: Fri, 25 Oct 2024 13:32:44 +0800 Subject: [PATCH] ci skip --- nu/milestone.nu | 3 +++ nu/query.nu | 2 ++ 2 files changed, 5 insertions(+) diff --git a/nu/milestone.nu b/nu/milestone.nu index ac83de9..18d7953 100644 --- a/nu/milestone.nu +++ b/nu/milestone.nu @@ -217,6 +217,9 @@ export def milestone-action [ --force(-f), # Force update milestone even if the milestone is already set. --dry-run(-d), # Dry run, only print the milestone that would be set. ] { + print $env.FILE_PWD? + print $env.CURRENT_FILE? + $env | table -e | print match $action { close => { close-milestone $repo $milestone --gh-token $gh_token }, create => { create-milestone $repo $title --due-on $due_on -D $description -t $gh_token }, diff --git a/nu/query.nu b/nu/query.nu index 1430d4b..d1d844f 100644 --- a/nu/query.nu +++ b/nu/query.nu @@ -16,6 +16,8 @@ export def query-issue-closer-by-graphql [ ] { let owner = $repo | split row / | first let name = $repo | split row / | last + print $env.FILE_PWD? + print $env.CURRENT_FILE? let query = open -r nu/issue.gql let variables = { repo_name: $name,