Skip to content

Two pages refer to refs/pulls/NUM/head instead of refs/pull/NUM/head #15737

Closed
@jmarshall

Description

@jmarshall

Code of Conduct

What article on docs.github.com is affected?

content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-cli-in-your-ci-system.md

content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/migrating-from-the-codeql-runner-to-codeql-cli.md

What part(s) of the article would you like to see updated?

These sections of these two pages refer to Git refs named refs/pulls/<PR-NUMBER>/xyz:

For the head commit of a pull request, use refs/pulls/NUMBER/head. For a GitHub-generated merge commit of a pull request, use refs/pulls/NUMBER/merge.

However all other documentation pages refer to similar refs as refs/pull/NUMBER/head (respectively …/merge) with …/pull/… singular. In extant repositories, it appears that refs/pull/NUMBER/xyz exists while refs/pulls/NUMBER/xyz does not.

Unless these two pages are confusingly referring to something else (e.g., a REST API call), it would appear that these instances of refs/pulls/… are incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code securityContent related to code securitycontentThis issue or pull request belongs to the Docs Content teamwaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions