Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(actions): process pr review action, remove setup-node #6559

Conversation

matthewgallo
Copy link
Member

@matthewgallo matthewgallo commented Dec 9, 2024

Fixes another bug I found in the PR review label action. Because we include setup-node and specify a cache configuration, the Post Setup Node.js job fails because it's looking for a .yarn/cache directory, however since this action doesn't depend on any dependencies being installed the cache directory doesn't exist. I think it's safe for us to just remove the setup-node step.

Example of failing job

Good news is that the action looks to be working now, outside of this one issue!

image

What did you change?

.github/workflows/process-pr-review-data.yml

How did you test and verify your work?

Manually verified in the action that we don't need to install dependencies, it's all based on results from various GH api requests.

@matthewgallo matthewgallo requested review from elycheea, kennylam and a team as code owners December 9, 2024 16:06
Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit 2deef24
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/67571598b3dae50008c71f1b
😎 Deploy Preview https://deploy-preview-6559--ibm-products-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 2deef24
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/67571598b0375e000845286d
😎 Deploy Preview https://deploy-preview-6559--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.96%. Comparing base (6e58e9d) to head (2deef24).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6559      +/-   ##
==========================================
- Coverage   79.97%   79.96%   -0.01%     
==========================================
  Files         394      394              
  Lines       12894    12894              
  Branches     4273     4273              
==========================================
- Hits        10312    10311       -1     
- Misses       2582     2583       +1     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

@matthewgallo matthewgallo changed the title fix(actions): process pr review action, remove setup node fix(actions): process pr review action, remove setup-node Dec 9, 2024
@elycheea elycheea added this pull request to the merge queue Dec 10, 2024
Merged via the queue into carbon-design-system:main with commit 5ceeaa5 Dec 10, 2024
38 checks passed
@matthewgallo matthewgallo deleted the action-process-pr-review-remove-setup-node branch December 10, 2024 14:10
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.

3 participants