Skip to content

fix(lock-closed): fix broken policy URL #77

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

Merged
merged 1 commit into from
Aug 20, 2020
Merged

fix(lock-closed): fix broken policy URL #77

merged 1 commit into from
Aug 20, 2020

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Aug 20, 2020

Previously, the policy URL used in the automatic conversation locking comment used a shortened SHA (6 our of 40 chars). Such SHAs only work as long as there is no other SHA in the repo starting with the same chars. Since there are now two SHAs starting with the same 6 chars, the link is broken and resulrts in a 404 error. Example: angular/angular-cli#18058 (comment)

This commit fixes the broken link by using the full SHA (40 chars).

Previously, the policy URL used in the automatic conversation locking
comment used a shortened SHA (6 our of 40 chars). Such SHAs only work as
long as there is no other SHA in the repo starting with the same chars.
Since there are now two SHAs starting with the same 6 chars, the link is
broken and resulrts in a 404 error. Example:
angular/angular-cli#18058 (comment)

This commit fixes the broken link by using the full SHA (40 chars).
@gkalpak gkalpak marked this pull request as ready for review August 20, 2020 10:44
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

@josephperrott josephperrott merged commit 414834b into angular:master Aug 20, 2020
@gkalpak gkalpak deleted the fix-lock-closed-policy-url branch August 20, 2020 15:12
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants