Repository navigation
extension-duplicate-check: Add action - #14
Merged
Merged
Conversation
Flags new extensions in raycast/extensions that look like duplicates of store extensions or other open pull requests. Moved from the private raycast/extension-duplicate-check repository, since a public repository can't use a private action.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
extension-duplicate-check, an action that flags new extensions in raycast/extensions that look like duplicates of store extensions or of other open pull requests. It lists matches in the job summary and, when enabled, comments and labels the pull request.raycast/extensions is public, so it can't use the action from the private
raycast/extension-duplicate-checkrepository. This moves the current source here. Git history isn't carried over.extension-duplicate-check/: source, tests, bundleddist/index.jsand docs fromraycast/extension-duplicate-check@4d42e92.dist/index.jsis byte-identical to the original when rebuilt here. The README now uses the newuses:path and drops two outdated claims, one about Dependabot and one about an existing duplicate check script..github/workflows/extension-duplicate-check.yml: the same CI as the original repository, scoped to this folder. It runs typecheck, tests, and a check thatdistis up to date. This is the first workflow in this repository.Unlike the other actions here, this one is a TypeScript action with its own
package.json. The folder'spackage.jsonmust stay, because"type": "module"is what lets Node rundist/index.js.Nothing uses the action until raycast/extensions adds a workflow pinned to a commit SHA from here. That workflow also needs new
REDASH_API_KEYandTYPESAFE_API_KEYsecrets, and it will first run without comments or labels. See the README.Tested locally:
npm run typecheck,npm test(44 passed),npm run build.