Skip to content

Instantly share code, notes, and snippets.

@izikeros
Last active July 17, 2024 19:58
Show Gist options
  • Save izikeros/06a2193824dd363b359594a077266d9a to your computer and use it in GitHub Desktop.
Save izikeros/06a2193824dd363b359594a077266d9a to your computer and use it in GitHub Desktop.
[Check Links (GitHub action] check links GitHub action #action #workflow
---
name: Check links in README
# from: unixorn/git-extra-commands
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files
# within `mega-linter`
fetch-depth: 0
- uses: docker://dkhamsing/awesome_bot:latest
with:
args: /github/workspace/README.md --allow-ssl --allow 202,500,501,502,503,504,509,521 --allow-dupe --allow-redirect --request-delay 1 --white-list https://github,https://img.shields.io,https://twitter.com,https://medium.com,https://stackoverflow.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment