Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue #1932] Updates comment on "Lint - Close done issues" #1949

Merged
merged 1 commit into from
May 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/linters/scripts/close-issues-in-done-col.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ gh api graphql \

# iterate through the list of URLs written to the to_close_file
# and close them with a comment indicating the reason for closing
comment="Beep boop: Automatically closing this issue because it was marked as '${STATUS}' "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha love the beep boop

comment+="in https://github.com/orgs/${ORG}/projects/${PROJECT}. This action was performed by a bot."
while read URL; do
if [[ $DRY_RUN == "YES" ]];
then
echo "Would close issue with URL: ${URL}"
else
echo "Closing issue with URL: ${URL}"
gh issue close $URL \
--comment "Closing because issue was marked as '${STATUS}' in https://github.com/orgs/${ORG}/projects/${PROJECT}"
--comment "${comment}"
fi
done < $to_close_file
Loading