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

Automate updating the Wishlist issues #11

Closed
kianenigma opened this issue Jul 8, 2024 · 3 comments · Fixed by paritytech/polkadot-sdk#5085
Closed

Automate updating the Wishlist issues #11

kianenigma opened this issue Jul 8, 2024 · 3 comments · Fixed by paritytech/polkadot-sdk#5085

Comments

@kianenigma
Copy link

kianenigma commented Jul 8, 2024

This is about writing a simple GHA to automate updating the comments in paritytech/polkadot-sdk#3900 and paritytech/polkadot-sdk#3901

I used the python script in https://github.com/kianenigma/wishlist-tracker and it seems to work. What would be great to write a GHA that would run every 24h, and update my first comment every night. The original python script has the code to update the README of the repo as an example.

@rzadp
Copy link

rzadp commented Jul 17, 2024

Makes sense, I don't have any questions - we'll do it.

@rzadp
Copy link

rzadp commented Jul 19, 2024

@kianenigma Proposed paritytech/polkadot-sdk#5085

github-merge-queue bot pushed a commit to paritytech/polkadot-sdk that referenced this issue Jul 24, 2024
- Closes paritytech/eng-automation#11

The workflow periodically updates the leaderboards of the wishlist
issues: #3900 and
#3901

The code is adopted from
[here](https://github.com/kianenigma/wishlist-tracker), with slight
modifications.

Previously, the score could be increased by the same person adding
different reactions. Also, some wishes have a score of 0 - even thought
there is a wish for them, because the author was not counted.

Now, the score is a unique count of upvoters of the desired issue,
upvoters of the wish comment, and the author of the wish comment.

I changed the format to include the `Last updated:` at the bottom - it
will be automatically updated.
@rzadp
Copy link

rzadp commented Jul 25, 2024

The wishlists are now automatically updated.

Before

Screenshot 2024-07-25 at 10 15 11


Screenshot 2024-07-25 at 10 15 21

After

Screenshot 2024-07-25 at 11 12 59

Screenshot 2024-07-25 at 11 13 32

TarekkMA pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this issue Aug 2, 2024
)

- Closes paritytech/eng-automation#11

The workflow periodically updates the leaderboards of the wishlist
issues: paritytech#3900 and
paritytech#3901

The code is adopted from
[here](https://github.com/kianenigma/wishlist-tracker), with slight
modifications.

Previously, the score could be increased by the same person adding
different reactions. Also, some wishes have a score of 0 - even thought
there is a wish for them, because the author was not counted.

Now, the score is a unique count of upvoters of the desired issue,
upvoters of the wish comment, and the author of the wish comment.

I changed the format to include the `Last updated:` at the bottom - it
will be automatically updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants