-
Notifications
You must be signed in to change notification settings - Fork 1.4k
feat: custom branch name templates #571
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
Conversation
dd364b7 to
35c0ca2
Compare
75ba2eb to
b129570
Compare
| ); | ||
|
|
||
| // Check if generated branch already exists on remote | ||
| try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would appreciate some feedback on this- a bare catch block feels like the wrong way to do this.
| const branchName = applyBranchTemplate(template, variables); | ||
|
|
||
| // Some templates could produce empty results- validate | ||
| if (branchName.trim().length > 0) return branchName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't enforce Kubernetes compatibility for the template case- I figured users that needed it could make their template compatible, and that this way we allow users to specify underscores or uppercase characters in their template if desired.
action.yml
Outdated
| required: false | ||
| default: "claude/" | ||
| branch_name_template: | ||
| description: "Template for branch naming. Available variables: {{prefix}}, {{entityType}}, {{entityNumber}}, {{timestamp}}, {{sha}}, {{label}}, {{description}}. {{label}} will be first label from the issue/PR, or {{entityType}} as a fallback. {{description}} will be the first 3 words of the issue/PR title in kebab-case. Default: '{{prefix}}{{entityType}}-{{entityNumber}}-{{timestamp}}'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only new template variables here are label and description, which are admittedly the ones needed for my purposes. I'm avoiding Claude-generated descriptions or variables from external sources (e.g. Jira) for now from simplicity; I'd recommend a separate PR for additional template variables.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why only first 3 words? Would be great to have the full title as the branch name eg claude/571-add-custom-branch-name-templates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like going up to 5 words could be okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No solid reason for 3 words. Just personal preference and trying to keep to shorter branch names. 5 words is fine with me
|
is there a way to get claude to review this PR @dylancdavis , wdyt? |
action.yml
Outdated
| required: false | ||
| default: "claude/" | ||
| branch_name_template: | ||
| description: "Template for branch naming. Available variables: {{prefix}}, {{entityType}}, {{entityNumber}}, {{timestamp}}, {{sha}}, {{label}}, {{description}}. {{label}} will be first label from the issue/PR, or {{entityType}} as a fallback. {{description}} will be the first 3 words of the issue/PR title in kebab-case. Default: '{{prefix}}{{entityType}}-{{entityNumber}}-{{timestamp}}'" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like going up to 5 words could be okay?
|
Really cool feature, thanks for submitting this! What do you think about making it the description 5 words? |
|
Updated to 5 words and made it an optional parameter in case we want more flexibility in the future |
|
@ashwin-ant any chance we could get a follow-up review? We really need this functionality! |
|
@ashwin-ant Can we get this reviewed? |
ashwin-ant
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
|
Let's go! |
Bumps the github-actions group with 6 updates: | Package | From | To | | --- | --- | --- | | [anchore/scan-action](https://github.com/anchore/scan-action) | `7.2.2` | `7.2.3` | | [github/codeql-action](https://github.com/github/codeql-action) | `4.31.9` | `4.31.10` | | [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) | `1.0.28` | `1.0.29` | | [ruby/setup-ruby](https://github.com/ruby/setup-ruby) | `1.280.0` | `1.283.0` | | [updatecli/updatecli-action](https://github.com/updatecli/updatecli-action) | `2.98.0` | `2.99.0` | | [actions/setup-node](https://github.com/actions/setup-node) | `6.1.0` | `6.2.0` | Updates `anchore/scan-action` from 7.2.2 to 7.2.3 Release notes *Sourced from [anchore/scan-action's releases](https://github.com/anchore/scan-action/releases).* > v7.2.3 > ------ > > New in scan-action v7.2.3 > ------------------------- > > * chore(deps): update Grype to v0.104.4 ([#566](https://github.com/anchore/scan-action/issues/566)) [[[anchore-actions-token-generator[bot]](https://github.com/apps/anchore-actions-token-generator)]([https://github.com/[anchore-actions-token-generator[bot]](https://github.com/apps/anchore-actions-token-generator))]](https://github.com/%5Banchore-actions-token-generator%5Bbot%5D%5D(https://github.com/apps/anchore-actions-token-generator))%5D) > * chore(deps): bump `@actions/cache` from 4.1.0 to 5.0.1 ([#563](https://github.com/anchore/scan-action/issues/563)) [[[dependabot[bot]](https://github.com/apps/dependabot)]([https://github.com/[dependabot[bot]](https://github.com/apps/dependabot))]](https://github.com/%5Bdependabot%5Bbot%5D%5D(https://github.com/apps/dependabot))%5D) Commits * [`62b74fb`](anchore/scan-action@62b74fb) chore(deps): update Grype to v0.104.4 ([#566](https://github.com/anchore/scan-action/issues/566)) * [`e06814b`](anchore/scan-action@e06814b) chore(deps): bump @actions/\* ([#563](https://github.com/anchore/scan-action/issues/563)) * [`926d958`](anchore/scan-action@926d958) chore(deps): update Grype to v0.104.3 ([#565](https://github.com/anchore/scan-action/issues/565)) * [`097ccad`](anchore/scan-action@097ccad) chore(deps): bump peter-evans/create-pull-request from 7.0.11 to 8.0.0 ([#560](https://github.com/anchore/scan-action/issues/560)) * [`4413a5f`](anchore/scan-action@4413a5f) chore(deps-dev): bump eslint from 9.39.1 to 9.39.2 ([#564](https://github.com/anchore/scan-action/issues/564)) * See full diff in [compare view](anchore/scan-action@3c9a191...62b74fb) Updates `github/codeql-action` from 4.31.9 to 4.31.10 Release notes *Sourced from [github/codeql-action's releases](https://github.com/github/codeql-action/releases).* > v4.31.10 > -------- > > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > 4.31.10 - 12 Jan 2026 > --------------------- > > * Update default CodeQL bundle version to 2.23.9. [#3393](https://github.com/github/codeql-action/pull/3393) > > See the full [CHANGELOG.md](https://github.com/github/codeql-action/blob/v4.31.10/CHANGELOG.md) for more information. Changelog *Sourced from [github/codeql-action's changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md).* > CodeQL Action Changelog > ======================= > > See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs. > > [UNRELEASED] > ------------ > > No user facing changes. > > 4.31.10 - 12 Jan 2026 > --------------------- > > * Update default CodeQL bundle version to 2.23.9. [#3393](https://github.com/github/codeql-action/pull/3393) > > 4.31.9 - 16 Dec 2025 > -------------------- > > No user facing changes. > > 4.31.8 - 11 Dec 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.8. [#3354](https://github.com/github/codeql-action/pull/3354) > > 4.31.7 - 05 Dec 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.7. [#3343](https://github.com/github/codeql-action/pull/3343) > > 4.31.6 - 01 Dec 2025 > -------------------- > > No user facing changes. > > 4.31.5 - 24 Nov 2025 > -------------------- > > * Update default CodeQL bundle version to 2.23.6. [#3321](https://github.com/github/codeql-action/pull/3321) > > 4.31.4 - 18 Nov 2025 > -------------------- > > No user facing changes. > > 4.31.3 - 13 Nov 2025 > -------------------- > > * CodeQL Action v3 will be deprecated in December 2026. The Action now logs a warning for customers who are running v3 but could be running v4. For more information, see [Upcoming deprecation of CodeQL Action v3](https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/). > * Update default CodeQL bundle version to 2.23.5. [#3288](https://github.com/github/codeql-action/pull/3288) > > 4.31.2 - 30 Oct 2025 > -------------------- > > No user facing changes. > > 4.31.1 - 30 Oct 2025 > -------------------- > > * The `add-snippets` input has been removed from the `analyze` action. This input has been deprecated since CodeQL Action 3.26.4 in August 2024 when this removal was announced. > > 4.31.0 - 24 Oct 2025 > -------------------- ... (truncated) Commits * [`cdefb33`](github/codeql-action@cdefb33) Merge pull request [#3394](https://github.com/github/codeql-action/issues/3394) from github/update-v4.31.10-0fa411efd * [`cfa77c6`](github/codeql-action@cfa77c6) Update changelog for v4.31.10 * [`0fa411e`](github/codeql-action@0fa411e) Merge pull request [#3393](https://github.com/github/codeql-action/issues/3393) from github/update-bundle/codeql-bundle-v2.23.9 * [`c284324`](github/codeql-action@c284324) Add changelog note * [`83e7d00`](github/codeql-action@83e7d00) Update default bundle to codeql-bundle-v2.23.9 * [`f6a16be`](github/codeql-action@f6a16be) Merge pull request [#3391](https://github.com/github/codeql-action/issues/3391) from github/dependabot/npm\_and\_yarn/npm-minor-f1cdf5... * [`c1f5f1a`](github/codeql-action@c1f5f1a) Rebuild * [`1805d8d`](github/codeql-action@1805d8d) Bump the npm-minor group with 2 updates * [`b2951d2`](github/codeql-action@b2951d2) Merge pull request [#3353](https://github.com/github/codeql-action/issues/3353) from github/kaspersv/bump-min-cli-v-for-overlay * [`41448d9`](github/codeql-action@41448d9) Merge pull request [#3287](https://github.com/github/codeql-action/issues/3287) from github/henrymercer/generate-mergeback-last * Additional commits viewable in [compare view](github/codeql-action@5d4e8d1...cdefb33) Updates `anthropics/claude-code-action` from 1.0.28 to 1.0.29 Release notes *Sourced from [anthropics/claude-code-action's releases](https://github.com/anthropics/claude-code-action/releases).* > v1.0.29 > ------- > > What's Changed > -------------- > > * [Security] Fix HIGH vulnerability: CVE-2025-66414 by [`@orbisai0security`](https://github.com/orbisai0security) in [anthropics/claude-code-action#792](https://github.com/anthropics/claude-code-action/pull/792) > * fix: use original title from webhook payload instead of fetched title by [`@ashwin-ant`](https://github.com/ashwin-ant) in [anthropics/claude-code-action#793](https://github.com/anthropics/claude-code-action/pull/793) > * feat: add path validation for commit\_files MCP tool by [`@ddworken`](https://github.com/ddworken) in [anthropics/claude-code-action#796](https://github.com/anthropics/claude-code-action/pull/796) > * feat: custom branch name templates by [`@dylancdavis`](https://github.com/dylancdavis) in [anthropics/claude-code-action#571](https://github.com/anthropics/claude-code-action/pull/571) > * fix: add missing import and update tests for branch template feature by [`@ashwin-ant`](https://github.com/ashwin-ant) in [anthropics/claude-code-action#799](https://github.com/anthropics/claude-code-action/pull/799) > > New Contributors > ---------------- > > * [`@orbisai0security`](https://github.com/orbisai0security) made their first contribution in [anthropics/claude-code-action#792](https://github.com/anthropics/claude-code-action/pull/792) > * [`@dylancdavis`](https://github.com/dylancdavis) made their first contribution in [anthropics/claude-code-action#571](https://github.com/anthropics/claude-code-action/pull/571) > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.29> Commits * [`1b8ee3b`](anthropics/claude-code-action@1b8ee3b) fix: add missing import and update tests for branch template feature ([#799](https://github.com/anthropics/claude-code-action/issues/799)) * [`c247cb1`](anthropics/claude-code-action@c247cb1) feat: custom branch name templates ([#571](https://github.com/anthropics/claude-code-action/issues/571)) * [`cefa600`](anthropics/claude-code-action@cefa600) chore: bump Claude Code to 2.1.1 and Agent SDK to 0.2.1 * [`7a708f6`](anthropics/claude-code-action@7a708f6) chore: bump Claude Code to 2.1.0 and Agent SDK to 0.2.0 * [`5da7ba5`](anthropics/claude-code-action@5da7ba5) feat: add path validation for commit\_files MCP tool ([#796](https://github.com/anthropics/claude-code-action/issues/796)) * [`964b835`](anthropics/claude-code-action@964b835) fix: use original title from webhook payload instead of fetched title ([#793](https://github.com/anthropics/claude-code-action/issues/793)) * [`c83d67a`](anthropics/claude-code-action@c83d67a) fix: resolve high vulnerability CVE-2025-66414 ([#792](https://github.com/anthropics/claude-code-action/issues/792)) * See full diff in [compare view](anthropics/claude-code-action@c9ec2b0...1b8ee3b) Updates `ruby/setup-ruby` from 1.280.0 to 1.283.0 Release notes *Sourced from [ruby/setup-ruby's releases](https://github.com/ruby/setup-ruby/releases).* > v1.283.0 > -------- > > What's Changed > -------------- > > * Add restriction and validation for download urls by [`@ntkme`](https://github.com/ntkme) in [ruby/setup-ruby#856](https://github.com/ruby/setup-ruby/pull/856) > * Add ruby-3.2.10 by [`@ruby-builder-bot`](https://github.com/ruby-builder-bot) in [ruby/setup-ruby#860](https://github.com/ruby/setup-ruby/pull/860) > > **Full Changelog**: <ruby/setup-ruby@v1.282.0...v1.283.0> > > v1.282.0 > -------- > > What's Changed > -------------- > > * Add ruby-4.0.1 by [`@ruby-builder-bot`](https://github.com/ruby-builder-bot) in [ruby/setup-ruby#859](https://github.com/ruby/setup-ruby/pull/859) > > **Full Changelog**: <ruby/setup-ruby@v1.281.0...v1.282.0> > > v1.281.0 > -------- > > What's Changed > -------------- > > * Generate test matrix dynamically by [`@ntkme`](https://github.com/ntkme) in [ruby/setup-ruby#854](https://github.com/ruby/setup-ruby/pull/854) > * Add truffleruby-33.0.0,truffleruby+graalvm-33.0.0 by [`@ruby-builder-bot`](https://github.com/ruby-builder-bot) in [ruby/setup-ruby#857](https://github.com/ruby/setup-ruby/pull/857) > > **Full Changelog**: <ruby/setup-ruby@v1.280.0...v1.281.0> Commits * [`708024e`](ruby/setup-ruby@708024e) Add ruby-3.2.10 * [`757ecf5`](ruby/setup-ruby@757ecf5) Give a proper name to CI jobs checking generated files * [`6963d48`](ruby/setup-ruby@6963d48) Use Regexp.escape to not need to manually escape (error-prone) * [`3fc6249`](ruby/setup-ruby@3fc6249) Match more strictly with \A and \z * [`b939495`](ruby/setup-ruby@b939495) Add restriction and validation for download urls * [`4fc31e1`](ruby/setup-ruby@4fc31e1) Add ruby-4.0.1 * [`675dd7b`](ruby/setup-ruby@675dd7b) Add truffleruby-33.0.0,truffleruby+graalvm-33.0.0 * [`5dd816a`](ruby/setup-ruby@5dd816a) Tweaks for the generated CI matrix * [`c2f29a7`](ruby/setup-ruby@c2f29a7) Generate test matrix dynamically * See full diff in [compare view](ruby/setup-ruby@d5f787c...708024e) Updates `updatecli/updatecli-action` from 2.98.0 to 2.99.0 Release notes *Sourced from [updatecli/updatecli-action's releases](https://github.com/updatecli/updatecli-action/releases).* > v2.99.0 🌈 > --------- > > Changes > ------- > > * Bump "`@types/node`" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1015](https://github.com/updatecli/updatecli-action/issues/1015)) > * Bump "eslint-plugin-prettier" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1016](https://github.com/updatecli/updatecli-action/issues/1016)) > * deps: update updatecli version to v0.113.0 @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1013](https://github.com/updatecli/updatecli-action/issues/1013)) > * deps(github/action): bump all dependencies @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1007](https://github.com/updatecli/updatecli-action/issues/1007)) > * Bump "eslint-plugin-jest" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1002](https://github.com/updatecli/updatecli-action/issues/1002)) > * Bump "`@types/node`" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1004](https://github.com/updatecli/updatecli-action/issues/1004)) > * Bump "jest" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1003](https://github.com/updatecli/updatecli-action/issues/1003)) > * Bump "cross-env" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1000](https://github.com/updatecli/updatecli-action/issues/1000)) > * Bump "eslint-config-prettier" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1001](https://github.com/updatecli/updatecli-action/issues/1001)) > * Bump "`@types/jest`" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#998](https://github.com/updatecli/updatecli-action/issues/998)) > * Change trigger branch from 'main' to 'v2' [`@olblak`](https://github.com/olblak) ([#1011](https://github.com/updatecli/updatecli-action/issues/1011)) > * Bump "eslint-plugin-github" package version @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#1006](https://github.com/updatecli/updatecli-action/issues/1006)) > * deps(updatecli/policies): bump all policies @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#995](https://github.com/updatecli/updatecli-action/issues/995)) > > 🐛 Bug Fixes > ----------- > > * fix: updatecli workflows [`@olblak`](https://github.com/olblak) ([#1012](https://github.com/updatecli/updatecli-action/issues/1012)) > > 🧰 Maintenance > ------------- > > * Update Updatecli GitHub action workflow [`@olblak`](https://github.com/olblak) ([#993](https://github.com/updatecli/updatecli-action/issues/993)) > * deps: bump Updatecli GH action to v2.98.0 @[updateclibot[bot]](https://github.com/apps/updateclibot) ([#987](https://github.com/updatecli/updatecli-action/issues/987)) > > Contributors > ------------ > > [`@olblak`](https://github.com/olblak), [`@updateclibot`](https://github.com/updateclibot)[bot] and [updateclibot[bot]](https://github.com/apps/updateclibot) Commits * [`4fd2c16`](updatecli/updatecli-action@4fd2c16) Bump "`@types/node`" package version ([#1015](https://github.com/updatecli/updatecli-action/issues/1015)) * [`ade1a16`](updatecli/updatecli-action@ade1a16) Bump "eslint-plugin-prettier" package version ([#1016](https://github.com/updatecli/updatecli-action/issues/1016)) * [`d44bf53`](updatecli/updatecli-action@d44bf53) deps: update updatecli version to v0.113.0 ([#1013](https://github.com/updatecli/updatecli-action/issues/1013)) * [`a215c4f`](updatecli/updatecli-action@a215c4f) deps(github/action): bump all dependencies ([#1007](https://github.com/updatecli/updatecli-action/issues/1007)) * [`0f8a012`](updatecli/updatecli-action@0f8a012) fix: updatecli workflows ([#1012](https://github.com/updatecli/updatecli-action/issues/1012)) * [`097f2d5`](updatecli/updatecli-action@097f2d5) Bump "eslint-plugin-jest" package version ([#1002](https://github.com/updatecli/updatecli-action/issues/1002)) * [`1ef916e`](updatecli/updatecli-action@1ef916e) Bump "`@types/node`" package version ([#1004](https://github.com/updatecli/updatecli-action/issues/1004)) * [`cda4fa9`](updatecli/updatecli-action@cda4fa9) Bump "jest" package version ([#1003](https://github.com/updatecli/updatecli-action/issues/1003)) * [`3508de7`](updatecli/updatecli-action@3508de7) Bump "cross-env" package version ([#1000](https://github.com/updatecli/updatecli-action/issues/1000)) * [`8e0155f`](updatecli/updatecli-action@8e0155f) Bump "eslint-config-prettier" package version ([#1001](https://github.com/updatecli/updatecli-action/issues/1001)) * Additional commits viewable in [compare view](updatecli/updatecli-action@b846825...4fd2c16) Updates `actions/setup-node` from 6.1.0 to 6.2.0 Release notes *Sourced from [actions/setup-node's releases](https://github.com/actions/setup-node/releases).* > v6.2.0 > ------ > > What's Changed > -------------- > > ### Documentation > > * Documentation update related to absence of Lockfile by [`@mahabaleshwars`](https://github.com/mahabaleshwars) in [actions/setup-node#1454](https://github.com/actions/setup-node/pull/1454) > * Correct mirror option typos by [`@MikeMcC399`](https://github.com/MikeMcC399) in [actions/setup-node#1442](https://github.com/actions/setup-node/pull/1442) > * Readme update on checkout version v6 by [`@deining`](https://github.com/deining) in [actions/setup-node#1446](https://github.com/actions/setup-node/pull/1446) > * Readme typo fixes [`@munyari`](https://github.com/munyari) in [actions/setup-node#1226](https://github.com/actions/setup-node/pull/1226) > * Advanced document update on checkout version v6 by [`@aparnajyothi-y`](https://github.com/aparnajyothi-y) in [actions/setup-node#1468](https://github.com/actions/setup-node/pull/1468) > > ### Dependency updates: > > * Upgrade `@actions/cache` to v5.0.1 by [`@salmanmkc`](https://github.com/salmanmkc) in [actions/setup-node#1449](https://github.com/actions/setup-node/pull/1449) > > New Contributors > ---------------- > > * [`@mahabaleshwars`](https://github.com/mahabaleshwars) made their first contribution in [actions/setup-node#1454](https://github.com/actions/setup-node/pull/1454) > * [`@MikeMcC399`](https://github.com/MikeMcC399) made their first contribution in [actions/setup-node#1442](https://github.com/actions/setup-node/pull/1442) > * [`@deining`](https://github.com/deining) made their first contribution in [actions/setup-node#1446](https://github.com/actions/setup-node/pull/1446) > * [`@munyari`](https://github.com/munyari) made their first contribution in [actions/setup-node#1226](https://github.com/actions/setup-node/pull/1226) > > **Full Changelog**: <actions/setup-node@v6...v6.2.0> Commits * [`6044e13`](actions/setup-node@6044e13) Docs: bump actions/checkout from v5 to v6 ([#1468](https://github.com/actions/setup-node/issues/1468)) * [`8e49463`](actions/setup-node@8e49463) Fix README typo ([#1226](https://github.com/actions/setup-node/issues/1226)) * [`621ac41`](actions/setup-node@621ac41) README.md: bump to latest released checkout version v6 ([#1446](https://github.com/actions/setup-node/issues/1446)) * [`2951748`](actions/setup-node@2951748) Bump `@actions/cache` to v5.0.1 ([#1449](https://github.com/actions/setup-node/issues/1449)) * [`21ddc7b`](actions/setup-node@21ddc7b) Correct mirror option typos ([#1442](https://github.com/actions/setup-node/issues/1442)) * [`65d868f`](actions/setup-node@65d868f) Update Documentation for Lockfile ([#1454](https://github.com/actions/setup-node/issues/1454)) * See full diff in [compare view](actions/setup-node@395ad32...6044e13) Dependabot 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-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
(Partially) addresses #566.
Branch names are currently generated from an internally-specified template. This PR adds functionality to specify a template string to generate the branch name from.
Template variables include all variables used in the default template (prefix, entity type, entity number, timestamp). Additional variables include the source branch SHA, the entity's first label, and the entity description (as the first three words in kebab-case).
If the template is unspecified or blank, if the template-generated branch name is blank, or if the generated result conflicts with an existing branch, we fall back to the default template.
This PR does not address functionality for Claude-generated descriptions or from external sources such as Jira.