SRVKP-12826: updated enable corepack in refresh-yarn-lockfile workflow (trial2)#1195
Conversation
|
@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. DetailsIn response to this:
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. |
PR Reviewer Guide 🔍Warning
Here are some key observations to aid the review process:
|
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
07801b6
into
openshift-pipelines:master
| run: rm -f yarn.lock | ||
|
|
||
| - name: Install dependencies to regenerate yarn.lock file | ||
| run: yarn install |
There was a problem hiding this comment.
yarn install --refresh-lockfile
insight from AI
| run: | | ||
| BRANCH="automation/refresh-yarn-lockfile" | ||
|
|
||
| git checkout -b "$BRANCH" |
There was a problem hiding this comment.
git checkout -B "$BRANCH"
AI insight
|
|
||
| git commit -m "chore: regenerate yarn.lock" | ||
|
|
||
| git push origin "$BRANCH" |
There was a problem hiding this comment.
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 \ |
There was a problem hiding this comment.
if gh pr view "$BRANCH" >/dev/null 2>&1; then
echo "PR already exists."
else
gh pr create ...
fi
AI insight
Type of Change
Summary
Updated Refresh yarn lockfile github workflow with Enable Corepack step