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
323 stars 48 forks source link

link.yml does not appear under GitHub actions #231

Closed lyashevska closed 5 months ago

lyashevska commented 5 months ago

links.yml does not appear under GitHub actions. See example here Any help is appreciated.

mre commented 5 months ago

Your pull request needs to be merged to make the links.yml file show up in the repository. The GitHub action only runs when it gets merged or when someone from the maintainers approves the new action or they run it manually.

lyashevska commented 5 months ago

Thanks, thats clear, is there any workflow for testing beforehand?

mre commented 5 months ago

This is more of a GitHub Actions question than a lychee-action issue, but you can find some details on how to test your workflow before merging here: https://stackoverflow.com/questions/67707244/how-to-test-github-workflow-without-merging-into-master-main-branch

I recommend adding

on: workflow_dispatch

to your workflow. Then an admin get dispatch (trigger) the workflow manually from the Actions page. Hope that helps.

lyashevska commented 5 months ago

Thanks, this is helpful.