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

Update and fix gh actions #6651

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

alinkedd
Copy link
Contributor

@alinkedd alinkedd commented Feb 20, 2024

NOTE: analyze-comment depends on workflow_run and thus will be used only after merging updates into the default branch. This is why the deprecation warning is still present (https://github.com/reactjs/react.dev/actions/runs/7980542658). To check the proposed fix in a condition, you may look over the same fix in my test repo and then dependant workflow respecting that condition.

Thorough review is welcomed, as I'm no GitHub Actions professional :)

UPD
I added folded block to if condition without expression to shorten the line, and it seems to work file. Links to my latest test results are updated.

UPD 2
#7277 has already updated most of the actions, so it closes #5961 by updating dawidd6/action-download-artifact at last

Copy link

vercel bot commented Feb 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
19-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 10:38pm
react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 10:38pm

Copy link

github-actions bot commented Feb 20, 2024

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@alinkedd
Copy link
Contributor Author

@gaearon @harish-sethuraman could you please help to find someone to review this PR regarding GH actions? It would be great to have them fixed.

duplicates #6179 (comment)
fyi @rickhanlonii

@alinkedd
Copy link
Contributor Author

alinkedd commented Nov 4, 2024

@poteto hi
I noticed you've worked with GitHub Actions. Could you please take a look at this PR as well?

Copy link
Member

@poteto poteto left a comment

Choose a reason for hiding this comment

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

thanks for the contribution! rather than update the existing external action, i would rather we make use of the github ones. could you help rewrite them to use it instead?

@@ -55,7 +55,7 @@ jobs:
name: bundle_analysis.json

- name: Download base branch bundle stats
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v6
Copy link
Member

Choose a reason for hiding this comment

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

do we really need an external action for this? could we rewrite this to use https://github.com/actions/toolkit/tree/main/packages/artifact instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants