stefanzweifel / oh-dear-request-run-action

Trigger Oh Dear runs through GitHub Actions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oh Dear Request Run Action

An Action to trigger a new mixed-content or broken-links run in Oh Dear.

This Action provides an abstraction to trigger new runs in Oh Dear through GitHub Actions. These runs can either check your site for broken links or mixed content.

Usage

Add the following step to a Workflow of your choosing.

- uses: stefanzweifel/oh-dear-request-run-action@v1
  with:
    oh_dear_token: ${{ secrets.OH_DEAR_TOKEN }}
    check_id: 1234

Create a new API token and store it as a secret in your repository or organisation.

You can find the check_id at the bottom of the "Broken Links" or "Mixed Content" page for each of your site in ohdear.app.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

We also provide major version tags to make it easier to always use the latest release of a major version. For example you can use stefanzweifel/oh-dear-request-run-action@v1 to always use the latest release of the current major version. (More information about this here.)

Credits

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Trigger Oh Dear runs through GitHub Actions.

License:MIT License