Closed YDX-2147483647 closed 1 year ago
Hi, may I ask a question?
How can I use ascii_description
in my GitHub Actions? Or should I make a PR to best-of-update-action? (I noticed that all PRs there were made by robots…)
@YDX-2147483647 I need to release a new version for this and then it will become accessible in the action. I will try to attempt that within the next few days.
I see, thank you!
So, did you encounter difficulties? Anything I can help?
Just FYI, I've worked out some tricks to test it, and everything works as expected!
Details:
I forked the update-action repo, and let pip
install from GitHub directly.
Edit .github/workflows/update-best-of-list.yml
in my own repo:
- name: update-best-of-list
# uses: best-of-lists/best-of-update-action@v0.8.5
uses: YDX-2147483647/best-of-update-action@ascii-description
Go to Actions in my own repo, run the workflow manually.
What kind of change does this PR introduce?
Description:
Add config
ascii_description
to resolves #61.ascii_description
True
, all non-ASCII characters in the project description will be removed. Useful for filtering out distractive emoji, but hurtful in non-English cases. (Note: GitHub emoji commands (e.g.:smile:
) are always removed.)True
Technically:
ascii_only: bool
toutils.process_description
.config.ascii_description
to it when calling.Checklist:
[x] I have read the CONTRIBUTING document.
Sorry I can't use docker, therefore I can't run tests on my own. May I depend on the CI?
[x] My changes don't require a change to the documentation, or if they do, I've added all required information.