Skip to content

CI: Block AI workflows on pr from fork#451

Merged
DematteisGiacomo merged 1 commit intonrfconnect:mainfrom
Trond-F-Christiansen:workflow-fork-detection-test
Nov 27, 2025
Merged

CI: Block AI workflows on pr from fork#451
DematteisGiacomo merged 1 commit intonrfconnect:mainfrom
Trond-F-Christiansen:workflow-fork-detection-test

Conversation

@Trond-F-Christiansen
Copy link
Copy Markdown
Contributor

verify-state-machine.yml and ai-review.yaml need access to secrets, so they should not run on PRs from forks. Added run conditions that gates the jobs to only run when the PR is from the same repository.

Helps against situations like #449 where the PR got merged with failing tests due to noise from failing AI workflows

verify-state-machine.yml and ai-review.yaml need access to secrets, so they
should not run on PRs from forks. Added run conditions that gates the jobs
to only run when the PR is from the same repository.

Signed-off-by: Trond F. Christiansen <trond.christiansen@nordicsemi.no>
@DematteisGiacomo DematteisGiacomo merged commit 3bb6558 into nrfconnect:main Nov 27, 2025
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