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

[Feature] Get the information about the staled issues #452

Closed
flaxel opened this issue May 21, 2021 · 4 comments · Fixed by #458
Closed

[Feature] Get the information about the staled issues #452

flaxel opened this issue May 21, 2021 · 4 comments · Fixed by #458
Labels
bug Something isn't working

Comments

@flaxel
Copy link
Contributor

flaxel commented May 21, 2021

When the action has run, it would be nice to get the data of the staled issues with author. This way, you could use the data to use other actions that, for example, send a Slack message to the author.

@flaxel flaxel added the bug Something isn't working label May 21, 2021
@C0ZEN
Copy link
Contributor

C0ZEN commented May 23, 2021

@flaxel do you wish to provide a PR?

@flaxel
Copy link
Contributor Author

flaxel commented May 23, 2021

I did some research and I will try it. 😄

@C0ZEN
Copy link
Contributor

C0ZEN commented May 23, 2021

@flaxel I would recommend an approach with a generic class to alter the outputs of the action since if you achieve to do a first version, I see a bunch of new features that can follow.

@flaxel
Copy link
Contributor Author

flaxel commented May 23, 2021

@C0ZEN I have created a first draft and it should work. But I don't get any output in the test action. Is this normal or should there be some text? If it is the same behaviour as with my actions, then they are not updated until the branch is merged, so it should be ok.

I would recommend an approach with a generic class to alter the outputs of the action

What do you mean by the approach? Wouldn't it be enough to return the classes as they are or is it better to control the outputs and not output everything? Do you want to create one class per output? At the end I will write some tests. 👍

I would stop for today and continue later. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants