Skip to content

ci: avoid pull_request_target for backports#15209

Merged
gr2m merged 1 commit into
mainfrom
backport-use-issues-and-push
May 12, 2026
Merged

ci: avoid pull_request_target for backports#15209
gr2m merged 1 commit into
mainfrom
backport-use-issues-and-push

Conversation

@gr2m
Copy link
Copy Markdown
Collaborator

@gr2m gr2m commented May 12, 2026

Background

Backports should work for internal and fork PRs without pull_request_target.

Summary

Use trusted issues.labeled and push events to resolve merged PRs before running backport automation.

Use trusted issue label and push events to resolve merged PRs before running backport automation.

Co-authored-by: Cursor <cursoragent@cursor.com>
gr2m added a commit that referenced this pull request May 12, 2026
## Background

Backport of #15209.

Backports should work for internal and fork PRs without
`pull_request_target`.

## Summary

Use trusted `issues.labeled` and `push` events to resolve merged PRs
before running backport automation.

Co-authored-by: Cursor <cursoragent@cursor.com>
gr2m added a commit that referenced this pull request May 12, 2026
## Background

Backport of #15209.

Backports should work for internal and fork PRs without
`pull_request_target`.

## Summary

Use trusted `issues.labeled` and `push` events to resolve merged PRs
before running backport automation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gr2m gr2m merged commit f23bcf2 into main May 12, 2026
18 checks passed
@gr2m gr2m deleted the backport-use-issues-and-push branch May 12, 2026 18:00
@gr2m
Copy link
Copy Markdown
Collaborator Author

gr2m commented May 12, 2026

testing the new workflow ...

@gr2m gr2m added backport Admins only: add this label to a pull request in order to backport it to the prior version and removed backport Admins only: add this label to a pull request in order to backport it to the prior version labels May 12, 2026
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