Skip to content

Commit

Permalink
fix : get rid of unneccesary part which stands for closing last issues
Browse files Browse the repository at this point in the history
  • Loading branch information
su-giana committed Jan 13, 2024
1 parent 438de14 commit 785b96c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/daily-scrum-issue-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ jobs:
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Create team sync issue
run: |
if [[ $CLOSE_PREVIOUS == true ]]; then
previous_issue_number=$(gh issue list \
--label "$LABELS" \
--json number \
--jq '.[0].number')
if [[ -n $previous_issue_number ]]; then
gh issue close "$previous_issue_number"
gh issue unpin "$previous_issue_number"
fi
fi
new_issue_url=$(gh issue create \
—title "$TITLE" \
—assignee "$ASSIGNEES" \
Expand Down

0 comments on commit 785b96c

Please sign in to comment.