Skip to content

Broken relative link due to the branch name being inferred incorrectly #3465

Description

@nacnudus

The final link in the body text of this page is broken, because it uses main instead of master.

  • Incorrect: https://github.com/alphagov/govuk-aws/blob/main/terraform/projects/infra-google-monitoring
  • Correct: https://github.com/alphagov/govuk-aws/blob/master/terraform/projects/infra-google-monitoring

(tree instead of blob would be even more correct, but GitHub rewrites/redirects it anyway.)

The tech docs template implies that master is the default, so I don't understand why the relative path in the source code is being resolved to main.

https://github.com/alphagov/govuk-aws/blob/92826e9a2c97d80c97e6501127532c38510655ea/docs/guides/deploying-google-terraform.md?plain=1#L115

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions