Skip to content

[ci] Avoid fail of "Add Job Link to PR" action#4085

Open
AlexanderDokuchaev wants to merge 1 commit into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/ci_jl
Open

[ci] Avoid fail of "Add Job Link to PR" action#4085
AlexanderDokuchaev wants to merge 1 commit into
openvinotoolkit:developfrom
AlexanderDokuchaev:ad/ci_jl

Conversation

@AlexanderDokuchaev
Copy link
Copy Markdown
Collaborator

Changes

Remove in_progress trigger to limit number of runs (in most cases in_progress imediatrly triggered after requesting).
Fix exit with return code 1 on grep by adding | echo ""

Reason for changes

Failing jobs if run without set pr_num
https://github.com/openvinotoolkit/nncf/actions/runs/26210650427/job/77120477410

Related tickets

Tests

@AlexanderDokuchaev AlexanderDokuchaev marked this pull request as ready for review May 21, 2026 07:39
@AlexanderDokuchaev AlexanderDokuchaev requested a review from a team as a code owner May 21, 2026 07:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the “Add Job Link to PR” GitHub Actions helper workflow to reduce redundant workflow_run triggers and to prevent the job from failing when a PR number cannot be extracted from the run title.

Changes:

  • Removed the workflow_run in_progress trigger to reduce the number of workflow executions.
  • Made PR number extraction resilient to grep returning exit code 1 (no match), avoiding unintended step failures.

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