mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
Keep full CI on pull requests [skip ci]
This commit is contained in:
parent
b3b286694d
commit
dafd376244
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -4,7 +4,7 @@ on:
|
||||
pull_request:
|
||||
branches: [dev, main]
|
||||
push:
|
||||
branches: [dev, main]
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
@ -19,43 +19,36 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
if: github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io'
|
||||
name: Linters
|
||||
uses: ./.github/workflows/lint.yml
|
||||
secrets: inherit
|
||||
|
||||
install-cli-platform:
|
||||
if: github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io'
|
||||
name: Install and CLI platform compatibility
|
||||
uses: ./.github/workflows/test.yml
|
||||
secrets: inherit
|
||||
|
||||
tests:
|
||||
if: github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io'
|
||||
name: Discovered test matrix
|
||||
uses: ./.github/workflows/test-parallel.yml
|
||||
secrets: inherit
|
||||
|
||||
documentation:
|
||||
if: github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io'
|
||||
name: Documentation and root tests
|
||||
uses: ./.github/workflows/docs.yml
|
||||
secrets: inherit
|
||||
|
||||
codeql:
|
||||
if: github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io'
|
||||
name: CodeQL
|
||||
uses: ./.github/workflows/codeql.yml
|
||||
secrets: inherit
|
||||
|
||||
python-artifacts:
|
||||
if: github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io'
|
||||
name: Tested Python artifacts
|
||||
uses: ./.github/workflows/pip.yml
|
||||
secrets: inherit
|
||||
|
||||
docker-digests:
|
||||
if: github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io'
|
||||
name: Tested Docker images
|
||||
uses: ./.github/workflows/docker.yml
|
||||
with:
|
||||
@ -64,7 +57,7 @@ jobs:
|
||||
|
||||
required:
|
||||
name: All required CI lanes
|
||||
if: ${{ always() && (github.event_name != 'push' || github.event.head_commit.author.email != 'release-bot@archivebox.io') }}
|
||||
if: ${{ always() }}
|
||||
needs:
|
||||
- lint
|
||||
- install-cli-platform
|
||||
|
||||
Loading…
Reference in New Issue
Block a user