Skip to content

Commit

Permalink
[Docs Site] Temp. remove Kody from assignees (#17372)
Browse files Browse the repository at this point in the history
  • Loading branch information
KianNH authored Oct 7, 2024
1 parent 3a71f84 commit 2baac07
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/actions/assign-issue/index.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion .github/actions/assign-issue/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ import * as codeOwnersUtils from "codeowners-utils";
console.log(assignees);

if (assignees.size === 0) {
assignees.add("kodster28");
// assign folks which will manually reassign
["haleycode", "pedrosousa", "dcpena", "patriciasantaana"].forEach(
(username) => assignees.add(username),
);
}

const client = github.getOctokit(token);
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/anchor-link-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
curl --silent -X POST -H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/$GITHUB_REPOSITORY/issues" \
-d "{\"title\": \"Broken Header Links Found\", \"body\": \"$(cat issue_body.txt)\", \"assignees\": [\"kodster28\", \"haleycode\"]}"
-d "{\"title\": \"Broken Header Links Found\", \"body\": \"$(cat issue_body.txt)\", \"assignees\": [\"haleycode\"]}"
2 changes: 1 addition & 1 deletion .github/workflows/api-links-crawl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
curl --silent -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/cloudflare/cloudflare-docs/issues" \
-d "{\"title\": \"Broken API docs links\", \"body\": \"The following API doc links are broken: ${EXPORTED_VARIABLE}\", \"assignees\": [\"kodster28\", \"haleycode\"]}"
-d "{\"title\": \"Broken API docs links\", \"body\": \"The following API doc links are broken: ${EXPORTED_VARIABLE}\", \"assignees\": [\"haleycode\"]}"
2 changes: 1 addition & 1 deletion .github/workflows/image-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
curl --silent -X POST -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
"https://api.github.com/repos/cloudflare/cloudflare-docs/issues" \
-d "{\"title\": \"Unused Image Files Found\", \"body\": \"$(cat unused_files.txt)\", \"assignees\": [\"kodster28\", \"haleycode\"]}"
-d "{\"title\": \"Unused Image Files Found\", \"body\": \"$(cat unused_files.txt)\", \"assignees\": [\"haleycode\"]}"

0 comments on commit 2baac07

Please sign in to comment.