Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ahpook
Copy link
Contributor

@ahpook ahpook commented Oct 10, 2025

We'd thought that the syntax in #974 would avoid auto-linking
but didn't check closely enough, and now the deprecation issue
it links to cannot be loaded due to having too many references.

This updates the text to point to a new issue in a way that...
I hope... will not be auto-linked.

Related Issues

That's bait

We'd thought that the syntax in #974 would avoid auto-linking
but didn't check closely enough, and now the deprecation issue
it links to cannot be loaded due to having too many references.

This updates the text to point to a new issue in a way that...
I hope... will not be auto-linked.
@ahpook ahpook requested a review from a team as a code owner October 10, 2025 16:41
Copilot AI review requested due to automatic review settings October 10, 2025 16:41
Copy link
Contributor

Copilot AI 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 PR updates a deprecation warning message to avoid auto-linking issues that were causing excessive references to a GitHub issue. The change modifies the text to reference a new issue number in a format that should prevent automatic linking.

  • Updated deprecation warning text to reference issue 997 instead of the full GitHub issue path
  • Simplified the reference format to avoid auto-linking behavior

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@claire153 claire153 left a comment

Choose a reason for hiding this comment

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

✨ Thank you for doing this!
Also nice that you got PR number 1000

function addDenyListsDeprecationWarningToSummary(): void {
core.summary.addRaw(
`${icons.warning} <strong>Deprecation Warning</strong>: The <em>deny-licenses</em> option is deprecated for possible removal in the next major release. For more information, see actions/dependency-review-action/issues/938.`,
`${icons.warning} <strong>Deprecation Warning</strong>: The <em>deny-licenses</em> option is deprecated for possible removal in the next major release. For more information, see issue 997.`,
Copy link
Contributor

Choose a reason for hiding this comment

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

If you would like to keep the longer version without linking to it, I think we can use back ticks like so:

Suggested change
`${icons.warning} <strong>Deprecation Warning</strong>: The <em>deny-licenses</em> option is deprecated for possible removal in the next major release. For more information, see issue 997.`,
`${icons.warning} <strong>Deprecation Warning</strong>: The <em>deny-licenses</em> option is deprecated for possible removal in the next major release. For more information, see \`actions/dependency-review-action/issues/997\`.`,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried and this does seem to work, but I'm still a bit scared that they will not be preserved, or the auto linking will happen regardless...

@ahpook ahpook merged commit e63da9a into main Oct 10, 2025
8 checks passed
@ahpook ahpook deleted the ahpook/deprecation-redux branch October 10, 2025 19:21
mergify bot added a commit to ArcadeData/arcadedb that referenced this pull request Oct 11, 2025
…1 [skip ci]

Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.0 to 4.8.1.
Release notes

*Sourced from [actions/dependency-review-action's releases](https://github.com/actions/dependency-review-action/releases).*

> Dependency Review Action v4.8.1
> -------------------------------
>
> What's Changed
> --------------
>
> * (bug) Fix spamming link test in deprecation warning (again) by [`@​ahpook`](https://github.com/ahpook) in [actions/dependency-review-action#1000](https://redirect.github.com/actions/dependency-review-action/pull/1000)
> * Bump version for 4.8.1 release by [`@​ahpook`](https://github.com/ahpook) in [actions/dependency-review-action#1001](https://redirect.github.com/actions/dependency-review-action/pull/1001)
>
> **Full Changelog**: <actions/dependency-review-action@v4...v4.8.1>


Commits

* [`40c09b7`](actions/dependency-review-action@40c09b7) Merge pull request [#1001](https://redirect.github.com/actions/dependency-review-action/issues/1001) from actions/ahpook/v4.8.1-release
* [`4552948`](actions/dependency-review-action@4552948) Bump version for 4.8.1 release
* [`e63da9a`](actions/dependency-review-action@e63da9a) Merge pull request [#1000](https://redirect.github.com/actions/dependency-review-action/issues/1000) from actions/ahpook/deprecation-redux
* [`71365c7`](actions/dependency-review-action@71365c7) (bug) Fix spamming link test in deprecation warning (again)
* See full diff in [compare view](actions/dependency-review-action@56339e5...40c09b7)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=actions/dependency-review-action&package-manager=github\_actions&previous-version=4.8.0&new-version=4.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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 this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants