Skip to content
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
4 changes: 3 additions & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ github:
# Contexts are the names of checks that must pass. This is the value
# of the job's `name` property if it's present.
contexts:
- "Required Checks"
# "CI/PR" is the name of the workflow _job_ (jobs.ci-pr.name in ci-pr.yml),
# "Required Checks" is the name of the workflow _job_ in ci.yml.
- "CI/PR / Required Checks"

features:
wiki: false
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ concurrency:

jobs:
ci-pr:
name: PR#${{ github.event.number }} ${{ github.event.pull_request.title }}
# The 'name' MUST BE CONSTANT, as it becomes a part of the required_checks in .asf.yaml !!
# Do not rename this job, this is referenced in .asf.yaml!
name: CI/PR
uses: ./.github/workflows/ci.yml
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ jobs:
with:
ref: "versioned-docs"
path: site/content/releases
# Do not let this step fail when the versioned-docs branch does not exist, as on most forks
continue-on-error: true
- name: Setup test environment
uses: ./.github/actions/setup-test-env
- name: Install docker-compose
Expand Down Expand Up @@ -369,6 +371,7 @@ jobs:
cache-read-only: false

required-checks:
# Do not rename this job, this is referenced in .asf.yaml!
name: "Required Checks"
needs:
- build-checks
Expand Down