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

check components in PRs #220

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

igrr
Copy link
Member

@igrr igrr commented Jul 28, 2023

Verify components in PRs by running the upload action with --dry-run argument (based on espressif/upload-components-ci-action#12)

Will hopefully prevent issues like #219 and #161.

@igrr igrr force-pushed the ci/component_upload_dry_run branch 3 times, most recently from 989d6f7 to ad9dd06 Compare July 28, 2023 14:38
@igrr
Copy link
Member Author

igrr commented Jul 28, 2023

Unfortunately looks like this doesn't work in general, because upload --dry-run still requires a valid API token, which isn't available in a fork:
https://github.com/espressif/idf-extra-components/actions/runs/5693133175/job/15431540414?pr=220

@igrr
Copy link
Member Author

igrr commented Aug 3, 2023

Looks like this will be solved by espressif/idf-component-manager@488bf90.

@igrr igrr force-pushed the ci/component_upload_dry_run branch from ad9dd06 to c02776c Compare September 18, 2023 09:11
@igrr
Copy link
Member Author

igrr commented Sep 18, 2023

dry-run is not noticing the lack of the license file, will probably need a fix on idf-component-manager side.

@igrr igrr changed the title check components in PRs Draft: check components in PRs Sep 18, 2023
@igrr igrr force-pushed the ci/component_upload_dry_run branch 2 times, most recently from 389adfd to 41a78f6 Compare October 4, 2023 09:39
@igrr
Copy link
Member Author

igrr commented Oct 4, 2023

Okay, looks like the dry-run is able to detect some of the issues:

So i think this PR is ready. @tore-espressif please take a look again!

@igrr igrr changed the title Draft: check components in PRs check components in PRs Oct 4, 2023
Copy link
Collaborator

@tore-espressif tore-espressif left a comment

Choose a reason for hiding this comment

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

Thank you very much @igrr LGTM!

@tore-espressif tore-espressif merged commit 46b3155 into espressif:master Oct 12, 2023
56 checks passed
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