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