ci: update
This commit is contained in:
parent
d708ade428
commit
b42203ca02
2 changed files with 10 additions and 19 deletions
|
@ -1,7 +1,14 @@
|
||||||
name: build
|
name: build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- release/**
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
|
@ -22,6 +29,8 @@ jobs:
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run prettier
|
- run: npm run prettier
|
||||||
- run: npx markdownlint-cli .
|
- run: npx markdownlint-cli .
|
||||||
|
- run: make readme
|
||||||
|
- run: git diff --exit-code --name-only README.md
|
||||||
|
|
||||||
helm-lint:
|
helm-lint:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
|
@ -1,18 +0,0 @@
|
||||||
name: ci
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
# concurrency:
|
|
||||||
# group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
|
|
||||||
# cancel-in-progress: true
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
validate:
|
|
||||||
uses: ./.forgejo/workflows/validate.yml
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
# checks: write
|
|
Loading…
Reference in a new issue