Skip to content

chore: update workflows to no longer use pull_request_target - #5937

Merged
openshift-merge-bot[bot] merged 3 commits into
redhat-developer:mainfrom
Zaperex:update-workflows
Nov 30, 2026
Merged

openshift-merge-bot[bot] merged 3 commits into
redhat-developer:mainfrom
Zaperex:update-workflows

Conversation

@Zaperex

@Zaperex Zaperex commented Nov 30, 2026

Copy link
Copy Markdown
Member

Summary

Updates pr-semantic.yaml and cache-cleanup.yaml to no longer use pull_request_target.

cache-cleanup.yaml now runs on a schedule and pr-semantic.yaml has been modified to only post its results inside the workflow logs rather than creating a sticky comment.

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Assisted-By: Codex
Signed-off-by: Frank Kong <frkong@redhat.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
Assisted-By: Codex
Signed-off-by: Frank Kong <frkong@redhat.com>

rh-pre-commit.version: 2.4.0
rh-pre-commit.check-secrets: ENABLED
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@Zaperex Zaperex changed the title chore: update workflows chore: update workflows to no longer use pull_request_target Nov 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The container image build workflow finished with status: cancelled.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.41%. Comparing base (a8f9688) to head (a4992a9).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5937      +/-   ##
==========================================
- Coverage   82.04%   78.41%   -3.64%     
==========================================
  Files          71       64       -7     
  Lines         908      755     -153     
  Branches      139      122      -17     
==========================================
- Hits          745      592     -153     
  Misses        162      162              
  Partials        1        1              
Flag Coverage Δ *Carryforward flag
rhdh 75.57% <ø> (-4.20%) ⬇️
rhdh-e2e-frontend 69.33% <ø> (ø) Carriedforward from a8f9688

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
Backend plugins ∅ <ø> (∅)
Backend app 88.03% <ø> (ø)
Frontend app 66.46% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a8f9688...a4992a9. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@Omar-AlJaljuli Omar-AlJaljuli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cache-cleanup.yaml and pr-semantic.yaml changes are good workarounds to the exploitable pull_request_target.
/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Nov 30, 2026
@openshift-merge-bot
openshift-merge-bot Bot merged commit 82e9d39 into redhat-developer:main Nov 30, 2026
26 checks passed
@Zaperex

Zaperex commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

/cherrypick release-2.1 release-1.10

@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@Zaperex: new pull request created: #5948

Details

In response to this:

/cherrypick release-2.1 release-1.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Zaperex

Zaperex commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

/cherrypick release-1.10

@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@Zaperex: #5937 failed to apply on top of branch "release-1.10":

Applying: chore: update cache-cleanup to run a schedule
Applying: chore: move pr-semantic workflow to pull_request
Using index info to reconstruct a base tree...
M	.github/workflows/pr-semantic.yaml
Falling back to patching base and 3-way merge...
Auto-merging .github/workflows/pr-semantic.yaml
CONFLICT (content): Merge conflict in .github/workflows/pr-semantic.yaml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0002 chore: move pr-semantic workflow to pull_request

Details

In response to this:

/cherrypick release-1.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants