Skip to content

Commit

Permalink
fix: adding logs
Browse files Browse the repository at this point in the history
  • Loading branch information
victoraugustofd committed Jan 5, 2025
1 parent 806be9c commit 968d45d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/auto-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ 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')
issue_number=$(gh issue list -S '[$year] [Day $day] in:title' --json number | jq '.[].number')
echo $issue_number
if [ -z "$issue_number" ]; then
echo "::error::Issue not found!"
exit 1
Expand Down

0 comments on commit 968d45d

Please sign in to comment.