ci: do not run main, outpost when changes are made to website/ (#8192)

This commit is contained in:
Marc 'risson' Schmitt
2024-02-05 18:34:08 +01:00
committed by GitHub
parent f4b336a974
commit a395e347df
3 changed files with 14 additions and 0 deletions

View File

@ -12,6 +12,8 @@ on:
branches: branches:
- main - main
- version-* - version-*
paths-ignore:
- website
env: env:
POSTGRES_DB: authentik POSTGRES_DB: authentik

View File

@ -6,10 +6,14 @@ on:
- main - main
- next - next
- version-* - version-*
paths-ignore:
- website
pull_request: pull_request:
branches: branches:
- main - main
- version-* - version-*
paths-ignore:
- website
jobs: jobs:
lint-golint: lint-golint:

View File

@ -12,6 +12,13 @@ on:
- version-* - version-*
jobs: 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: lint-prettier:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -63,6 +70,7 @@ jobs:
run: npm run ${{ matrix.job }} run: npm run ${{ matrix.job }}
ci-website-mark: ci-website-mark:
needs: needs:
- lint-codespell
- lint-prettier - lint-prettier
- test - test
- build - build