2021-04-22 11:34:17 -06:00
|
|
|
name: GitHub Actions CI
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: master
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check_links:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2023-11-11 09:21:26 -07:00
|
|
|
uses: actions/checkout@v4
|
2021-04-22 11:34:17 -06:00
|
|
|
|
|
|
|
- name: Check links
|
|
|
|
id: lychee
|
2023-05-28 20:04:14 -06:00
|
|
|
uses: lycheeverse/lychee-action@v1
|
2021-06-08 19:44:10 -06:00
|
|
|
with:
|
2023-11-11 09:20:34 -07:00
|
|
|
args: README.md README_ZH-CN.md --verbose --no-progress --exclude www.passwordstore.org/*
|
2021-04-22 11:34:17 -06:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
- name: Check lychee exit code
|
2023-05-29 14:06:03 -06:00
|
|
|
run: exit ${lychee_exit_code}
|