From b926835fb150e490ffd0c0a2c58c871ed68392af Mon Sep 17 00:00:00 2001 From: victoraugustofd Date: Sat, 4 Jan 2025 21:04:07 -0300 Subject: [PATCH] fix: adding logs to the workflow. --- .github/workflows/auto-pr.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index bfcbff8..768acba 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -15,7 +15,8 @@ jobs: if [[ ${{ github.ref_name }} =~ puzzle/([0-9]{4})-day-([1-9]|1[0-9]|2[0-5]) ]]; then year=${BASH_REMATCH[1]} day=${BASH_REMATCH[2]} - + echo $year + echo $day issue_number=$(gh issue list -S '[$year] [Day $day] in:title' --json number | jq '.[].number') if [ -z "$issue_number" ]; then