micalevisk / last-issue-action

GitHub Action to find and output the number of the last updated open issue that has given labels and state.
https://github.com/marketplace/actions/find-last-issue
MIT License
2 stars 1 forks source link

micalevisk/last-issue-action@v2 not found #12

Closed andrew-saydjari closed 1 year ago

andrew-saydjari commented 1 year ago

As of 3 days ago, micalevisk/last-issue-action@v2 is returning "not found" for me in one of my GitHub workflows. I have tried changing this from v2 to v2.0.0 and v2.2.0 (which appears to not be in the marketplace), as well as direct harsh specifications of both of those releases, all of which return "not found." This error starting simultaneously with the v2.2.0 release makes me suspect something occurred in that process to break the action/rename it somehow. An example of the failure is here, where the run history shows the first failure date.

micalevisk commented 1 year ago

thank you for reporting!

I believe that this was a regression on v2.2

Can you please try v2.1.0 instead? I'll revert that ASAP

andrew-saydjari commented 1 year ago

Confirmed, reverting to v2.1.0 (by specifying explicitly) has solved the issue for me.

micalevisk commented 1 year ago

@andrew-saydjari v2 should be working now

I was trying to support GH enterprise but it didn't work

andrew-saydjari commented 1 year ago

Can I use this goodwill to ask you to look at https://github.com/andrew-saydjari/andrew-saydjari.github.io/issues (this is my personal website, but I have several other applications I want to extend to if I can get this working) where #84 was created instead of appending to #83? I feel like my usage here is a perfect mirror to your example, but just isn't working for me.

GitHub
Issues · andrew-saydjari/andrew-saydjari.github.io
Personal Academic Website. Contribute to andrew-saydjari/andrew-saydjari.github.io development by creating an account on GitHub.
micalevisk commented 1 year ago

it worked locally, at least :thinking:

image

run the action again with the debug mode, please

andrew-saydjari commented 1 year ago

https://github.com/andrew-saydjari/andrew-saydjari.github.io/actions/runs/6791129291/job/18461996780

it looks like issue-number is null, despite being found has-found being true?

GitHub
Links · andrew-saydjari/andrew-saydjari.github.io@ec82e2a
Personal Academic Website. Contribute to andrew-saydjari/andrew-saydjari.github.io development by creating an account on GitHub.
andrew-saydjari commented 1 year ago

(I am happy to split this off into a new issue if there really is something to track down, but my first assumption was that I had some silly typo)

micalevisk commented 1 year ago

oh you're using issue_number instead of issue-number

andrew-saydjari commented 1 year ago

Yes. Thank you for finding my stupid typo. Everything looks great now, I am a happy user, and will proliferate my usage! 👍🏽