Skip to content

Commit 2106559

Browse files
Merge branch 'production' into marcio/pcx17803-mconn-kvm
2 parents f700547 + 6b20109 commit 2106559

File tree

332 files changed

+3424
-2085
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

332 files changed

+3424
-2085
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@
150150

151151
# Docs team areas
152152

153-
/src/content/docs/docs-guide/ @dcpena @cloudflare/pcx-technical-writing
154153
/src/content/docs/style-guide/ @dcpena @cloudflare/pcx-technical-writing
155154

156155
# Google tag gateway

.github/actions/assign-issue/index.ts renamed to .github/actions/issue-label-assign/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import * as codeOwnersUtils from "codeowners-utils";
8484

8585
console.log("Assignees added (if present)");
8686

87-
// Add labels for future reporting
87+
// Add "product" labels
8888

8989
const labelPrefix = "product:";
9090
const newLabels = new Set<string>();

.github/actions/assign-issue/package-lock.json renamed to .github/actions/issue-label-assign/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/assign-issue/package.json renamed to .github/actions/issue-label-assign/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"version": "0.0.0",
4-
"name": "assign-issue",
4+
"name": "issue-label-assign",
55
"scripts": {
66
"build": "esbuild index.ts --bundle --format=cjs --platform=node --minify --outfile=index.js"
77
},
File renamed without changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Issue - Label and assign
2+
3+
# **What it does**: Labels Issues with associated products. Updates assignees to match our CODEOWNERS file.
4+
# **Why we have it**: Easier scanning of repo PRs && backend reporting on our team's work.
5+
# **Who does it impact**: PCX team
6+
7+
on:
8+
issues:
9+
types: [opened]
10+
11+
jobs:
12+
compile:
13+
name: Label and assign
14+
permissions:
15+
issues: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: ./.github/actions/issue-label-assign
20+
with:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/issue.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/potential-redirects-or-partials.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
files=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
3030
-H "Accept: application/vnd.github.v3+json" \
31-
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
31+
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files?per_page=100" | \
3232
jq -r '.[] | select(.status=="renamed" or .status=="removed") | select (.filename | startswith("src/content/docs")) | select(.filename | endswith(".mdx")) | if .status == "renamed" then .previous_filename else .filename end' | \
3333
sed -e 's|^src/content/docs||' -e 's|/index\.mdx$|/|' -e 's|\.mdx$|/|')
3434
# Use random delimiter for security reasons
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
files=$(curl -s -H "Authorization: Bearer $GITHUB_TOKEN" \
4545
-H "Accept: application/vnd.github.v3+json" \
46-
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files" | \
46+
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files?per_page=100" | \
4747
jq -r '.[] | select(.status=="modified") | select (.filename | startswith("src/content/partials")) | select(.filename | endswith(".mdx")) | .filename' | \
4848
sed -e 's|^src/content/partials||' -e 's|\.mdx$|/|')
4949
# Use random delimiter for security reasons

0 commit comments

Comments
 (0)