Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix conditional required workflows #1207

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Benchmark Tests

# To be aware it need to be the counter-part of benchmark-empty.yaml.
on:
pull_request: ~

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Fallback workflow to be able to have the branch protection enabled at all times.
name: Empty Benchmark Tests
name: Null Docs

on:
# To be aware it need to be the counter-part of benchmark.yaml.
push:
branches: [ main ]
# To be aware it need to be the counter-part of docs.yaml.
pull_request:
paths-ignore:
- doc/**
- mkdocs.yaml
- .github/workflows/docs.yaml

# See https://stackoverflow.com/a/72408109
concurrency:
Expand All @@ -16,7 +19,7 @@ jobs:
# the protected branch rules as opposed to the tests one above which
# may change regularly.
validate-tests:
name: Benchmark tests status
name: Docs status
runs-on: ubuntu-latest
steps:
- name: Successful run
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: GitHub-Pages
name: Docs

on:
push:
Expand All @@ -7,12 +7,13 @@ on:
paths:
- doc/**
- mkdocs.yaml
- .github/workflows/gh-pages.yaml
- .github/workflows/docs.yaml
# To be aware it need to be the counter-part of docs-empty.yaml.
pull_request:
paths:
- doc/**
- mkdocs.yaml
- .github/workflows/gh-pages.yaml
- .github/workflows/docs.yaml

# See https://stackoverflow.com/a/72408109
concurrency:
Expand Down
Loading