mirror of
https://github.com/namibia/awesome-shell.git
synced 2024-11-16 01:57:11 +00:00
24 lines
534 B
YAML
24 lines
534 B
YAML
name: GitHub Actions CI
|
|
on:
|
|
push:
|
|
branches: master
|
|
pull_request:
|
|
|
|
jobs:
|
|
check_links:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Check links
|
|
id: lychee
|
|
uses: lycheeverse/lychee-action@v1
|
|
with:
|
|
args: README.md README_ZH-CN.md --verbose --no-progress --exclude www.passwordstore.org/*
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Check lychee exit code
|
|
run: exit ${lychee_exit_code}
|