Conversation
Bumps [actions/github-script](https://github.com/actions/github-script) from 8 to 9. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](actions/github-script@v8...v9) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
Label error. Requires exactly 1 of: automation, breaking, bug, changelog:skip, chore, ci, dependencies, documentation, enhancement, feature, fix, redesign. Found: ci, dependencies |
1 similar comment
|
Label error. Requires exactly 1 of: automation, breaking, bug, changelog:skip, chore, ci, dependencies, documentation, enhancement, feature, fix, redesign. Found: ci, dependencies |
📝 WalkthroughWalkthroughEight GitHub workflow files were updated to use Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/auto-add-needs-triage-label.yml:
- Line 18: Replace the floating tag "actions/github-script@v9" with an immutable
commit SHA to avoid version drift; update the uses entry (the line containing
actions/github-script@v9) to use a full commit SHA (for example,
3a2844b7e9c422d3c10d287c895573f7108da1b3) so the workflow references an exact
revision.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 43e25231-1153-4847-8b87-a648676c1614
📒 Files selected for processing (8)
.github/workflows/assembler-preview-cleanup.yml.github/workflows/assembler-preview.yml.github/workflows/auto-add-needs-triage-label.yml.github/workflows/comment-on-asciidoc-changes.yml.github/workflows/detect-duplicate-issues.yml.github/workflows/preview-build.yml.github/workflows/preview-cleanup.yml.github/workflows/release.yml
| steps: | ||
| - name: Add needs triage label | ||
| uses: actions/github-script@v8 | ||
| uses: actions/github-script@v9 |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify all github-script uses are pinned to full SHAs (40 hex chars).
rg -nP --type=yaml 'uses:\s*actions/github-script@(?![0-9a-f]{40}\b)'Repository: elastic/docs-builder
Length of output: 46
🏁 Script executed:
# First, find and examine the specific workflow file
find . -name "auto-add-needs-triage-label.yml" -type f 2>/dev/null | head -5Repository: elastic/docs-builder
Length of output: 115
🏁 Script executed:
# Search for all github-script uses in workflow files
rg -n "actions/github-script" --type=yamlRepository: elastic/docs-builder
Length of output: 46
🏁 Script executed:
# Read the workflow file to check actual contents
cat -n ./.github/workflows/auto-add-needs-triage-label.ymlRepository: elastic/docs-builder
Length of output: 767
Pin actions/github-script to an immutable SHA instead of @v9.
Line 18 uses a floating tag, which risks version drift if the tag is moved. Pin to a full commit SHA (e.g., 3a2844b7e9c422d3c10d287c895573f7108da1b3) for CI stability and security.
Suggested change
- uses: actions/github-script@v9
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| uses: actions/github-script@v9 | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.github/workflows/auto-add-needs-triage-label.yml at line 18, Replace the
floating tag "actions/github-script@v9" with an immutable commit SHA to avoid
version drift; update the uses entry (the line containing
actions/github-script@v9) to use a full commit SHA (for example,
3a2844b7e9c422d3c10d287c895573f7108da1b3) so the workflow references an exact
revision.
Bumps actions/github-script from 8 to 9.
Release notes
Sourced from actions/github-script's releases.
Commits
3a2844bMerge pull request #700 from actions/salmanmkc/expose-getoctokit + prepare re...ca10bbdfix: use@octokit/core/types import for v7 compatibility86e48e2merge: incorporate main branch changesc108472chore: rebuild dist for v9 upgrade and getOctokit factoryafff112Merge pull request #712 from actions/salmanmkc/deployment-false + fix user-ag...ff8117eci: fix user-agent test to handle orchestration ID81c6b78ci: use deployment: false to suppress deployment noise from integration tests3953cafdocs: update README examples from@v8to@v9, add getOctokit docs and v9 brea...c17d55bci: add getOctokit integration test joba047196test: add getOctokit integration tests via callAsyncFunctionDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)