Repository navigation
ci: run PR checks on release branches and move off pull_request_target (WPB-8645) - #5638
Merged
Merged
Conversation
Pull requests into release/** got no Lint, Detekt or unit-test run, so #5617 reached the v4.40.0 Production build with lint errors.
yamilmedina
requested review from
ohassine and
sbakhtiarov
and removed request for
a team
December 4, 2026 15:03
alexandreferris
approved these changes
Dec 4, 2026
Contributor
Test Results 373 files 373 suites 2m 4s ⏱️ Results for commit 55a0222. |
GitHub now blocks pull_request_target on public repositories by default, so both workflows have failed at startup since 2026-12-03. Neither runs PR code or needs secrets, so pull_request works. Fork PRs get a read-only token, so they skip the steps that edit the PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://wearezeta.atlassian.net/browse/WPB-8645
Pitch me the changes
Pull requests into release branches skip all of our code checks. This PR makes them run the same checks as pull requests into
develop.Ticket: WPB-8645
Problems
build-develop-pr.ymlruns Lint, Detekt, the unit tests and the UI tests, but only for pull requests intodevelop. Pull requests intorelease/cycle-*get only the metadata checks: Jira, PR title, Kalium ref and semgrep. #5617 merged intorelease/cycle-4.40without a lint run. Lint first ran in thev4.40.0Production build (run 47355242274), and that build failed withExtraTranslationerrors.Changes
release/**now run theDevelopquality checks. These checks don't build or deploy anything, becausebuild-configdefaults to[].PR title lint and author assign are blocked
GitHub now blocks
pull_request_targeton public repositories by default (docs). Since 2026-12-03,semantic-commit-lint.ymlandpr-author-assigner.ymlhave failed at startup on every PR.release/cycle-4.40requiressemantic-commit-pr-title-lint, so no PR into that branch can merge without an admin bypass.pull_request. Neither checks out PR code or uses secrets, so they don't needpull_request_target.semantic-commit-pr-title-lint, so the required check still matches.Verification
actionlintpasses on all three changed workflows. The 4 SC1083 warnings ongh api repos/{owner}/{repo}were already insemantic-commit-lint.yml.release/cycle-4.40pull request.Notes
pull_requesttriggers from the base branch.release/cycle-4.40therefore gets this change through #<RELEASE_PR>. Later release branches are cut fromdevelopand inherit it.release/**branch protection. A check that runs but isn't required can still be merged past.cherry-pick-pr-to-newer-release-cycle.ymlstill triggers onrelease/candidate. That is outside this PR.For the reviewer
Bro, PRs into release branches were skipping lint. One translations PR went in that way, and the release build caught the problem instead of the PR. This adds one line so those PRs run lint, Detekt and the tests, the same as
developPRs.