Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Repo sync#39315

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
docs-bot merged 8 commits intomainfromrepo-sync
Jul 14, 2025
Merged

Repo sync#39315

docs-bot merged 8 commits intomainfromrepo-sync
Jul 14, 2025

Conversation

docs-bot
Copy link
Collaborator

This is an automated pull request to sync changes between the public and private repos.
Our bot will merge this pull request automatically.
To preserve continuity across repos,do not squash this pull request.

@CopilotCopilotAI review requested due to automatic review settingsJuly 14, 2025 21:33
@githubgithub locked asspamand limited conversation to collaboratorsJul 14, 2025
@docs-botdocs-bot merged commit2758eba intomainJul 14, 2025
1 check passed
@github-actionsgithub-actionsbot added the triageDo not begin working on this issue until triaged by the team labelJul 14, 2025
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This is an automated pull request to sync changes between the public and private repos. The PR contains multiple updates to API documentation data files, including updated descriptions, new fields, and configuration updates.

  • Updates to GitHub Advanced Security descriptions across multiple API schema files
  • Addition of new fields for organization membership and release immutability
  • Updates to secret scanning patterns and search component improvements

Reviewed Changes

Copilot reviewed 60 out of 66 changed files in this pull request and generated 2 comments.

Show a summary per file
FileDescription
src/webhooks/lib/config.jsonUpdates SHA reference for webhook configuration
src/webhooks/data/ghes-*/schema.jsonAdds descriptions for Advanced Security parameters and new membership/release fields
src/types.tsAdds new properties to Permalink and Page types
src/secret-scanning/lib/config.jsonUpdates SHA references for secret scanning configuration
src/secret-scanning/data/public-docs.ymlAdds new Val Town API token pattern and enables push protection for WebDriver API key
src/search/components/input/*.tsxReact component updates for search functionality with key prop fixes
src/rest/lib/config.jsonUpdates SHA reference for REST API configuration
src/rest/data/ghes-*/schema.jsonAdds Advanced Security descriptions and new API fields across multiple versions

@@ -42,15 +49,20 @@ export function SearchBarButton({ isSearchOpen, setIsSearchOpen, params, searchB
const placeHolderElements = t('search.input.placeholder')
.split(/({{[^}]+}})/)
.filter((item) => item.trim() !== '')
.map((item) => <>{item.trim()}</>)
placeHolderElements[1] = <CopilotIcon aria-hidden className="mr-1 ml-1" />
.map((item, index) => <span key={`${item.trim()}-${index}`}>{item.trim()}</span>)
Copy link
Preview

CopilotAIJul 14, 2025

Choose a reason for hiding this comment

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

[nitpick] Using array index as part of the React key can cause issues if the array order changes. Consider using a more stable identifier or just the trimmed content if it's unique.

Suggested change
.map((item,index)=><spankey={`${item.trim()}-${index}`}>{item.trim()}</span>)
.map((item)=><spankey={item.trim()}>{item.trim()}</span>)

Copilot uses AI. Check for mistakes.

Comment on lines +52 to +53
.map((item, index) => <span key={`${item.trim()}-${index}`}>{item.trim()}</span>)
placeHolderElements[1] = <CopilotIconkey="copilot-icon"aria-hidden className="mr-1 ml-1" />
Copy link
Preview

CopilotAIJul 14, 2025

Choose a reason for hiding this comment

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

Direct array index assignment after mapping can be fragile. The assumption that index 1 exists and should be the icon might not hold if the placeholder text structure changes.

Suggested change
.map((item,index)=><spankey={`${item.trim()}-${index}`}>{item.trim()}</span>)
placeHolderElements[1]=<CopilotIconkey="copilot-icon"aria-hiddenclassName="mr-1 ml-1"/>
.map((item,index)=>
item.trim()==='{{icon}}'
?<CopilotIconkey="copilot-icon"aria-hiddenclassName="mr-1 ml-1"/>
:<spankey={`${item.trim()}-${index}`}>{item.trim()}</span>
)

Copilot uses AI. Check for mistakes.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

Copilot code reviewCopilotCopilot left review comments

Assignees
No one assigned
Labels
triageDo not begin working on this issue until triaged by the team
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@docs-bot@sabrowning1@heiskr@Ebonsignori

[8]ページ先頭

©2009-2025 Movatter.jp