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

build(check-links): remove unnecessary npm install for check-links workflow #1693

Conversation

pragmaticivan
Copy link
Member

This was added by accident, but if the workflow is using npx, it will download the dependency automatically. There is also no package.json at the root of the repository either, which is causing errors in some PRs.

@pragmaticivan pragmaticivan force-pushed the fix-markdown-link-check-with-npx branch from 98d5690 to 94316ab Compare February 5, 2025 01:16
@@ -1,4 +1,4 @@
name: check-links
name: "Link Check"
Copy link
Member Author

Choose a reason for hiding this comment

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

FYI, also changed the name of the workflow because this one is the only workflow not following this format.

@tylerbenson tylerbenson merged commit ccb3811 into open-telemetry:main Feb 6, 2025
11 checks passed
@serkan-ozal
Copy link
Contributor

serkan-ozal commented Feb 7, 2025

@pragmaticivan seems that still fails:

npm error npx canceled due to missing packages and no YES option: ["[email protected]"]

@pragmaticivan
Copy link
Member Author

Screenshot 2025-02-07 at 7 47 55 AM https://www.npmjs.com/package/markdown-link-check @serkan-ozal Screenshot 2025-02-07 at 7 49 02 AM

@tylerbenson tylerbenson added the github_actions Pull requests that update GitHub Actions code label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants