mirror of https://github.com/go-gitea/gitea.git
26 lines
584 B
YAML
26 lines
584 B
YAML
name: compliance-docs
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
files-changed:
|
|
uses: ./.github/workflows/files-changed.yml
|
|
|
|
compliance-docs:
|
|
if: needs.files-changed.outputs.docs == 'true'
|
|
needs: files-changed
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20
|
|
- run: make deps-frontend
|
|
- run: make lint-md
|
|
- run: make docs # test if build could succeed
|