ci: do not run main, outpost when changes are made to website/ (#8192)
This commit is contained in:

committed by
GitHub

parent
f4b336a974
commit
a395e347df
2
.github/workflows/ci-main.yml
vendored
2
.github/workflows/ci-main.yml
vendored
@ -12,6 +12,8 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- version-*
|
||||
paths-ignore:
|
||||
- website
|
||||
|
||||
env:
|
||||
POSTGRES_DB: authentik
|
||||
|
4
.github/workflows/ci-outpost.yml
vendored
4
.github/workflows/ci-outpost.yml
vendored
@ -6,10 +6,14 @@ on:
|
||||
- main
|
||||
- next
|
||||
- version-*
|
||||
paths-ignore:
|
||||
- website
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- version-*
|
||||
paths-ignore:
|
||||
- website
|
||||
|
||||
jobs:
|
||||
lint-golint:
|
||||
|
8
.github/workflows/ci-website.yml
vendored
8
.github/workflows/ci-website.yml
vendored
@ -12,6 +12,13 @@ on:
|
||||
- version-*
|
||||
|
||||
jobs:
|
||||
lint-codespell:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup authentik env
|
||||
uses: ./.github/actions/setup
|
||||
- run: poetry run make ci-codespell
|
||||
lint-prettier:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -63,6 +70,7 @@ jobs:
|
||||
run: npm run ${{ matrix.job }}
|
||||
ci-website-mark:
|
||||
needs:
|
||||
- lint-codespell
|
||||
- lint-prettier
|
||||
- test
|
||||
- build
|
||||
|
Reference in New Issue
Block a user