Skip to content

SRVKP-12826: updated enable corepack in refresh-yarn-lockfile workflow (trial2)#1195

Merged
anwesha-palit-redhat merged 1 commit into
openshift-pipelines:masterfrom
arvindk-softwaredev:feat/SRVKP-12826
Jul 23, 2026
Merged

SRVKP-12826: updated enable corepack in refresh-yarn-lockfile workflow (trial2)#1195
anwesha-palit-redhat merged 1 commit into
openshift-pipelines:masterfrom
arvindk-softwaredev:feat/SRVKP-12826

Conversation

@arvindk-softwaredev

@arvindk-softwaredev arvindk-softwaredev commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix
  • New feature
  • Refactoring
  • Migration
  • CVE Fix

Summary

Updated Refresh yarn lockfile github workflow with Enable Corepack step

@openshift-ci-robot

openshift-ci-robot commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

@arvindk-softwaredev: This pull request references SRVKP-12826 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the vulnerability to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Type of Change

  • Bug fix
  • New feature
  • Refactoring
  • Migration
  • CVE Fix

Summary

Updated Refresh yarn lockfile github workflow with Enable Corepack step

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
openshift-ci Bot requested review from ankrsinha and pratap0007 July 23, 2026 13:09
@openshift-ci openshift-ci Bot added the approved Label for Approved PRs label Jul 23, 2026
@arvindk-softwaredev
arvindk-softwaredev requested review from anwesha-palit-redhat and removed request for ankrsinha and pratap0007 July 23, 2026 13:09
@qodo-code-review

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Warning

/review is deprecated. Use /agentic_review instead (removal date not yet scheduled).

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@anwesha-palit-redhat anwesha-palit-redhat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Looks Good to Me Label label Jul 23, 2026
@openshift-ci

openshift-ci Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anwesha-palit-redhat, arvindk-softwaredev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [anwesha-palit-redhat,arvindk-softwaredev]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@anwesha-palit-redhat
anwesha-palit-redhat merged commit 07801b6 into openshift-pipelines:master Jul 23, 2026
5 of 6 checks passed
run: rm -f yarn.lock

- name: Install dependencies to regenerate yarn.lock file
run: yarn install

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yarn install --refresh-lockfile
insight from AI

run: |
BRANCH="automation/refresh-yarn-lockfile"

git checkout -b "$BRANCH"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

git checkout -B "$BRANCH"
AI insight


git commit -m "chore: regenerate yarn.lock"

git push origin "$BRANCH"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

git push --force-with-lease origin "$BRANCH"
This lets the scheduled job reuse the same branch. AI AI

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if gh pr view "$BRANCH" >/dev/null 2>&1; then
echo "PR already exists."
else
gh pr create ...
fi
AI insight

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

Labels

approved Label for Approved PRs Bug fix jira/valid-reference lgtm Looks Good to Me Label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants