Skip to content

Commit cba40a0

Browse files
committed
test
1 parent 46f35de commit cba40a0

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/mcp-lockdown-mode-proof.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ jobs:
104104
echo "Session ID: $SESSION_ID"
105105
echo "SESSION_ID=$SESSION_ID" >> "$GITHUB_ENV"
106106
107-
- name: "Test 2: Call issue_read on a public repo (expect lockdown to block)"
107+
- name: "Test 2: Call issue_read on admin content in a public repo (desired: results returned, actual: lockdown blocks)"
108108
env:
109109
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110110
run: |
111-
echo "=== Calling issue_read (method: get) on a public repo issue ==="
111+
echo "=== Calling issue_read (method: get) on a public repo issue created by an admin ==="
112112
echo "This targets github/github-mcp-server#1 (a public repo)."
113113
echo "With GITHUB_TOKEN read-all, the collaborators GraphQL query returns"
114114
echo "empty results, so lockdown will treat ALL authors as unsafe."
@@ -128,9 +128,9 @@ jobs:
128128
"name": "issue_read",
129129
"arguments": {
130130
"method": "get",
131-
"owner": "github",
132-
"repo": "github-mcp-server",
133-
"issue_number": 1
131+
"owner": "githubnext",
132+
"repo": "gh-aw-test",
133+
"issue_number": 44
134134
}
135135
}
136136
}')
@@ -158,7 +158,7 @@ jobs:
158158
echo "Unexpectedly succeeded — lockdown did not block. Check response above."
159159
fi
160160
161-
- name: "Test 3: Call issue_read get_comments on a public repo (expect filtered to zero)"
161+
- name: "Test 3: Call issue_read get_comments on admin content in a public repo (desired: returns admin comments, actual: filtered to zero)"
162162
env:
163163
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164164
run: |
@@ -181,9 +181,9 @@ jobs:
181181
"name": "issue_read",
182182
"arguments": {
183183
"method": "get_comments",
184-
"owner": "github",
185-
"repo": "github-mcp-server",
186-
"issue_number": 1
184+
"owner": "githubnext",
185+
"repo": "gh-aw-test",
186+
"issue_number": 44
187187
}
188188
}
189189
}')
@@ -223,9 +223,9 @@ jobs:
223223
"name": "issue_read",
224224
"arguments": {
225225
"method": "get",
226-
"owner": "github",
227-
"repo": "github-mcp-server",
228-
"issue_number": 1
226+
"owner": "githubnext",
227+
"repo": "gh-aw-test",
228+
"issue_number": 44
229229
}
230230
}
231231
}')

0 commit comments

Comments
 (0)