Skip to content

Commit 414834b

Browse files
authored
fix(lock-closed): fix broken policy URL (#77)
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).
1 parent 13b25d3 commit 414834b

File tree

1 file changed

+1
-1
lines changed
  • github-actions/lock-closed/src

1 file changed

+1
-1
lines changed

github-actions/lock-closed/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function run(): Promise<void> {
3232
const days = 30;
3333
// Standardized Angular Team message for locking issues
3434
const policyUrl =
35-
'https://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking';
35+
'https://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking';
3636
const message =
3737
'This issue has been automatically locked due to inactivity.\n' +
3838
'Please file a new issue if you are encountering a similar or related problem.\n\n' +

0 commit comments

Comments
 (0)