lycheeverse / lychee-action

Github action to check for broken links in Markdown, HTML, and text files using lychee, a fast link checker written in Rust.
https://lychee.cli.rs
Apache License 2.0
292 stars 39 forks source link

CI: Automatic vX tag update workflow #185

Closed tooomm closed 1 year ago

tooomm commented 1 year ago

See https://github.com/lycheeverse/lychee-action/issues/169#issuecomment-1454895532

Let's try how it works!

mre commented 1 year ago

Thanks!

mre commented 1 year ago

Let's try it with the next release. ⭐

tooomm commented 1 year ago

Let's try it with the next release. ⭐

If you edit the last release, it should also trigger the action!

mre commented 1 year ago

Hum, I went to https://github.com/lycheeverse/lychee-action/releases/edit/v1.6.1, changed the release description and hit Update Release. The pipeline didn't run for some reason. 🤔 Maybe I misunderstand what "editing a release" means and changing the text is not enough.

tooomm commented 1 year ago

That is exactly what the docs say as well: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release

Webhook events and payloads link: image


They even link to an example telling you how to adjust the description in the web UI. :)

As long as you were not dealing with a draft, it should have triggered I think. 🤷

mre commented 1 year ago

Late feedback, but it worked with the latest 1.7.0 release. 🚀 Logs here: https://github.com/lycheeverse/lychee-action/actions/runs/4726601856/jobs/8386343900 Thanks @tooomm.