Skip to content

actions: only reference issues the pusher can read from commits - #8486

Merged
unknwon merged 2 commits into
mainfrom
ghsa-53f6-cgcf-gp6v
Nov 11, 2026
Merged

unknwon merged 2 commits into
mainfrom
ghsa-53f6-cgcf-gp6v

Conversation

@unknwon

@unknwon unknwon commented Nov 11, 2026

Copy link
Copy Markdown
Member

Describe the pull request

Only add a "referenced this issue" comment for an issue mentioned in a commit message when the pusher can read the issue's repository. References within the pushed repository and to repositories the pusher can read keep working as before.

Link to the issue: GHSA-53f6-cgcf-gp6v

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code or have provided the test plan. (if applicable)
  • I have added an entry to CHANGELOG. (if applicable)

Test plan

With alice owning a private repository with an issue and a public repository with an issue, and mallory having no access to the private one, commit through the web editor:

  • mallory references the private issue from her own repository: before the fix a comment by mallory is added to it, after the fix none is.
  • mallory references the public issue: a comment is added, before and after.
  • alice references her private issue from another of her repositories: a comment is added, before and after.
  • mallory references an issue of the same repository: a comment is added, before and after.

AI usage

Claude Code was used to verify the report, write the fix, and run the end-to-end checks above, all reviewed by the maintainer.

@unknwon unknwon added this to the 0.14.4 milestone Nov 11, 2026
@unknwon
unknwon merged commit b660761 into main Nov 11, 2026
11 checks passed
@unknwon
unknwon deleted the ghsa-53f6-cgcf-gp6v branch November 11, 2026 19:05
unknwon added a commit that referenced this pull request Nov 11, 2026
@unknwon unknwon mentioned this pull request Nov 11, 2026
4 of 6 tasks
appthin added a commit to appthin/gogs-plus that referenced this pull request Nov 12, 2026
Brings in the 0.14.4 security and bug fixes (gogs#8439, gogs#8472, gogs#8478, gogs#8480-gogs#8484,
gogs#8486, gogs#8488), the Highlights-based diff highlighter for the web UI (gogs#8492,
gogs#8434, gogs#8435), absolute entrypoint paths for the SPA shell (gogs#8447), Docker
workflow updates (gogs#8463, gogs#8475), and housekeeping.

Fork-specific code is preserved: CodeQL workflow, login bans, sign-in
protection, the -plus release pipeline, and the rewritten README.
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.

1 participant