-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
log-output: true not logging output #40
Comments
After running the script locally, I can see the search returning valid PRs + issues that still need to be locked. I have to assume on CI the search is returning nothing for whatever reason since all logging statements seem to be inside the loop over |
The issue turned out to be a GH label that contained whitespace 🥲 Looks like it needs to be passed with double quotation marks to the search endpoint to prevent this; as is, the search was returning no issues or PRs. I just removed the whitespace from the label and everything is back to normal. Closing, thanks! |
Hi @alessbell and @jameslamb, Lock Threads 5.0.1 now supports filtering by labels with spaces, putting the label name in nested quotes is no longer needed. Version 5 also locks closed discussions by default, so make sure to update the workflow to preserve the old behavior. steps:
- uses: dessant/lock-threads@v5
with:
process-only: 'issues, prs' |
Thanks for the fix and the Should I still expect the nested quotes to work, though? |
@jameslamb, quotes around labels are stripped when the input parameters are parsed, so your configuration should continue working if you update to v5. Though I've only added quote stripping because I've noticed a couple of projects using nested quotes as a workaround in v4, and at some point it would be good to no longer preventively strip quotes, because it could cause unexpected issues. |
Hi there, thanks for your work on this action! We've been using it in the https://github.com/apollographql/apollo-client repo and it locked a bunch of PRs and issues off the bat 🙏
After a few hours though, I noticed it hit a plateau of around ~10% of existing closed issues and PRs. I've tried using
exclude-issue-created-after
/exclude-pr-created-after
to limit the number that were being initially fetched, then setprocess-only: 'issues'
and finally turned on log output, but I'm not seeing any output (example run). Would appreciate any guidance here, thanks!The text was updated successfully, but these errors were encountered: