Skip to content

chore(ci): skip CI Complete and Pull Request Reviewed outside apache/kafka - #909

Merged
viktorsomogyi merged 2 commits into
mainfrom
jeqo/ci-complete-skip-fork
Nov 27, 2026
Merged

viktorsomogyi merged 2 commits into
mainfrom
jeqo/ci-complete-skip-fork

Conversation

@jeqo

@jeqo jeqo commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Two workflows inherited from upstream do not work on this repository. Gate their jobs with github.repository == 'apache/kafka', as docker_promote.yml and docker_scan.yml already do. The files stay close to upstream.

  • ci-complete.yml: publishes Gradle Build Scans to develocity.apache.org. The access key exists only in apache/kafka, so every run fails with "rejected the request due to authentication being required".
  • pr-reviewed.yml: saves the PR number for pr-linter.yml, whose job is disabled (if: false). It runs on every review and uploads an artifact that nothing reads.

GitHub still lists a run for each workflow, with the job skipped. The Gradle Build Scan / ... commit statuses are no longer posted.

jeqo added 2 commits November 27, 2026 13:38
CI Complete publishes Gradle Build Scans to develocity.apache.org with a
secret that only apache/kafka has. On aiven/inkless every run fails with
"rejected the request due to authentication being required".

Run the jobs only when github.repository is apache/kafka, as
docker_promote.yml and docker_scan.yml already do.

Assisted-by: Claude Sonnet 5.5
Pull Request Reviewed saves the PR number for pr-linter.yml, whose job
is disabled (if: false). On aiven/inkless it runs on every review and
only produces an artifact that nothing reads.

Run the job only when github.repository is apache/kafka. The workflow
file stays unchanged otherwise, to keep the diff with upstream small.

Assisted-by: Claude Sonnet 5.5
@jeqo
jeqo marked this pull request as ready for review November 27, 2026 13:25
@viktorsomogyi
viktorsomogyi merged commit f9fbc1c into main Nov 27, 2026
11 of 12 checks passed
@viktorsomogyi
viktorsomogyi deleted the jeqo/ci-complete-skip-fork branch November 27, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants